class Spu::Account

Defined in:

spu-api.cr

Constant Summary

ACCOUNT_CODE_URL = "https://myutilities.seattle.gov/rest/serviceorder/findAccount"
CALENDAR_URL = "https://myutilities.seattle.gov/rest/solidwastecalendar"
PREM_CODE_URL = "https://myutilities.seattle.gov/rest/serviceorder/findaddress"
SERVICES_URL = "https://myutilities.seattle.gov/rest/guest/swsummary"

Constructors

Instance Method Summary

Constructor Detail

def self.new(address : String) #

[View source]

Instance Method Detail

def account_number : String #

[View source]
def address : String #

[View source]
def collection_schedule : Hash(String, CollectionDay) | Nil #

Return Hash(Date => CollectionDay) Contains all dates


[View source]
def company_code : String | Nil #

[View source]
def next_collection_day : CollectionDay | Nil #

Return Hash(Date => CollectionDay) Contains a single date


[View source]
def person_id : String | Nil #

[View source]
def premise_code : String | Nil #

[View source]