Class: XeroKiwi::Accounting::Address
- Inherits:
-
Object
- Object
- XeroKiwi::Accounting::Address
- Includes:
- Resource
- Defined in:
- lib/xero_kiwi/accounting/address.rb
Overview
A Xero address. Used by Organisation, Contact, and other resources.
See: developer.xero.com/documentation/api/accounting/types#addresses
Instance Method Summary collapse
Methods included from Resource
#==, #hash, included, #initialize, #inspect, #reference?, #to_h
Instance Method Details
#delivery? ⇒ Boolean
24 |
# File 'lib/xero_kiwi/accounting/address.rb', line 24 def delivery? = address_type == "DELIVERY" |
#pobox? ⇒ Boolean
23 |
# File 'lib/xero_kiwi/accounting/address.rb', line 23 def pobox? = address_type == "POBOX" |
#street? ⇒ Boolean
22 |
# File 'lib/xero_kiwi/accounting/address.rb', line 22 def street? = address_type == "STREET" |