Class: XeroKiwi::Accounting::Contact
- Inherits:
-
Object
- Object
- XeroKiwi::Accounting::Contact
show all
- Includes:
- Resource
- Defined in:
- lib/xero_kiwi/accounting/contact.rb
Overview
Instance Method Summary
collapse
Methods included from Resource
#==, #hash, included, #initialize, #inspect, #reference?, #to_h
Instance Method Details
#active? ⇒ Boolean
62
|
# File 'lib/xero_kiwi/accounting/contact.rb', line 62
def active? = contact_status == "ACTIVE"
|
#archived? ⇒ Boolean
64
|
# File 'lib/xero_kiwi/accounting/contact.rb', line 64
def archived? = contact_status == "ARCHIVED"
|
#customer? ⇒ Boolean
60
|
# File 'lib/xero_kiwi/accounting/contact.rb', line 60
def customer? = is_customer == true
|
#supplier? ⇒ Boolean
58
|
# File 'lib/xero_kiwi/accounting/contact.rb', line 58
def supplier? = is_supplier == true
|