Skip to content

Commit

Permalink
added line_of_business, organisation_entity_type and external_links t…
Browse files Browse the repository at this point in the history
…o organisations model (#391)
  • Loading branch information
rjaus authored Oct 18, 2017
1 parent afd7fa5 commit ded153f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/xeroizer/models/organisation.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ class Organisation < Base
boolean :pays_tax
string :version
string :organisation_type
string :organisation_entity_type
string :line_of_business
string :base_currency
string :country_code
boolean :is_demo_company
Expand All @@ -59,6 +61,7 @@ class Organisation < Base

has_many :addresses
has_many :phones
has_many :external_links

validates :sales_tax_basis, :message => "is not a valid option" do
valid = true
Expand Down

0 comments on commit ded153f

Please sign in to comment.