Class: Beanie::Company
Instance Attribute Summary collapse
-
#accounts_payable_nominal_account_id ⇒ Object
Returns the value of attribute accounts_payable_nominal_account_id.
-
#accounts_receivable_nominal_account_id ⇒ Object
Returns the value of attribute accounts_receivable_nominal_account_id.
-
#address1 ⇒ Object
Returns the value of attribute address1.
-
#address2 ⇒ Object
Returns the value of attribute address2.
-
#address3 ⇒ Object
Returns the value of attribute address3.
-
#city ⇒ Object
Returns the value of attribute city.
-
#country ⇒ Object
Returns the value of attribute country.
-
#currency ⇒ Object
Returns the value of attribute currency.
-
#email ⇒ Object
Returns the value of attribute email.
-
#fax ⇒ Object
Returns the value of attribute fax.
-
#id ⇒ Object
Returns the value of attribute id.
-
#invoice_template_id ⇒ Object
Returns the value of attribute invoice_template_id.
-
#name ⇒ Object
Returns the value of attribute name.
-
#next_fye ⇒ Object
Returns the value of attribute next_fye.
-
#phone ⇒ Object
Returns the value of attribute phone.
-
#purchase_shipping_nominal_account_id ⇒ Object
Returns the value of attribute purchase_shipping_nominal_account_id.
-
#registration ⇒ Object
Returns the value of attribute registration.
-
#sales_shipping_nominal_account_id ⇒ Object
Returns the value of attribute sales_shipping_nominal_account_id.
-
#state_county ⇒ Object
Returns the value of attribute state_county.
-
#website ⇒ Object
Returns the value of attribute website.
-
#zip_postcode ⇒ Object
Returns the value of attribute zip_postcode.
Instance Method Summary collapse
-
#initialize ⇒ Company
constructor
Initialize instance variables.
Methods inherited from Api
all, build_url, #construct_path, delete, #extract, #field_name, find, get, #object_name, #populate, post, put, #save!, set_headers
Constructor Details
#initialize ⇒ Company
Initialize instance variables
42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
# File 'lib/beanie/company.rb', line 42 def initialize @id = nil @name = nil @email = nil @address1 = nil @address2 = nil @address3 = nil @city = nil @state_county = nil @website = nil @phone = nil @fax = nil @zip_postcode = nil @registration = nil @next_fye = nil @country = nil @currency = nil @invoice_template_id = nil @purchase_shipping_nominal_account_id = nil @sales_shipping_nominal_account_id = nil @accounts_receivable_nominal_account_id = nil @accounts_payable_nominal_account_id = nil end |
Instance Attribute Details
#accounts_payable_nominal_account_id ⇒ Object
Returns the value of attribute accounts_payable_nominal_account_id.
38 39 40 |
# File 'lib/beanie/company.rb', line 38 def accounts_payable_nominal_account_id @accounts_payable_nominal_account_id end |
#accounts_receivable_nominal_account_id ⇒ Object
Returns the value of attribute accounts_receivable_nominal_account_id.
37 38 39 |
# File 'lib/beanie/company.rb', line 37 def accounts_receivable_nominal_account_id @accounts_receivable_nominal_account_id end |
#address1 ⇒ Object
Returns the value of attribute address1.
32 33 34 |
# File 'lib/beanie/company.rb', line 32 def address1 @address1 end |
#address2 ⇒ Object
Returns the value of attribute address2.
32 33 34 |
# File 'lib/beanie/company.rb', line 32 def address2 @address2 end |
#address3 ⇒ Object
Returns the value of attribute address3.
32 33 34 |
# File 'lib/beanie/company.rb', line 32 def address3 @address3 end |
#city ⇒ Object
Returns the value of attribute city.
32 33 34 |
# File 'lib/beanie/company.rb', line 32 def city @city end |
#country ⇒ Object
Returns the value of attribute country.
34 35 36 |
# File 'lib/beanie/company.rb', line 34 def country @country end |
#currency ⇒ Object
Returns the value of attribute currency.
34 35 36 |
# File 'lib/beanie/company.rb', line 34 def currency @currency end |
#email ⇒ Object
Returns the value of attribute email.
32 33 34 |
# File 'lib/beanie/company.rb', line 32 def email @email end |
#fax ⇒ Object
Returns the value of attribute fax.
33 34 35 |
# File 'lib/beanie/company.rb', line 33 def fax @fax end |
#id ⇒ Object
Returns the value of attribute id.
32 33 34 |
# File 'lib/beanie/company.rb', line 32 def id @id end |
#invoice_template_id ⇒ Object
Returns the value of attribute invoice_template_id.
35 36 37 |
# File 'lib/beanie/company.rb', line 35 def invoice_template_id @invoice_template_id end |
#name ⇒ Object
Returns the value of attribute name.
32 33 34 |
# File 'lib/beanie/company.rb', line 32 def name @name end |
#next_fye ⇒ Object
Returns the value of attribute next_fye.
34 35 36 |
# File 'lib/beanie/company.rb', line 34 def next_fye @next_fye end |
#phone ⇒ Object
Returns the value of attribute phone.
33 34 35 |
# File 'lib/beanie/company.rb', line 33 def phone @phone end |
#purchase_shipping_nominal_account_id ⇒ Object
Returns the value of attribute purchase_shipping_nominal_account_id.
35 36 37 |
# File 'lib/beanie/company.rb', line 35 def purchase_shipping_nominal_account_id @purchase_shipping_nominal_account_id end |
#registration ⇒ Object
Returns the value of attribute registration.
34 35 36 |
# File 'lib/beanie/company.rb', line 34 def registration @registration end |
#sales_shipping_nominal_account_id ⇒ Object
Returns the value of attribute sales_shipping_nominal_account_id.
36 37 38 |
# File 'lib/beanie/company.rb', line 36 def sales_shipping_nominal_account_id @sales_shipping_nominal_account_id end |
#state_county ⇒ Object
Returns the value of attribute state_county.
33 34 35 |
# File 'lib/beanie/company.rb', line 33 def state_county @state_county end |
#website ⇒ Object
Returns the value of attribute website.
33 34 35 |
# File 'lib/beanie/company.rb', line 33 def website @website end |
#zip_postcode ⇒ Object
Returns the value of attribute zip_postcode.
33 34 35 |
# File 'lib/beanie/company.rb', line 33 def zip_postcode @zip_postcode end |