lib/xero_gateway/organisation.rb in xero_gateway-2.0.7 vs lib/xero_gateway/organisation.rb in xero_gateway-2.0.8

- old
+ new

@@ -1,16 +1,19 @@ module XeroGateway class Organisation unless defined? ATTRS ATTRS = { - "Name" => :string, # Display name of organisation shown in Xero - "LegalName" => :string, # Organisation name shown on Reports - "PaysTax" => :boolean, # Boolean to describe if organisation is registered with a local tax authority i.e. true, false - "Version" => :string, # See Version Types - "BaseCurrency" => :string, # Default currency for organisation. See Currency types - "OrganisationType" => :string, # UNDOCUMENTED parameter, only returned for "real" (i.e non-demo) companies - "APIKey" => :string # UNDOCUMENTED paramater, returned if organisations are linked via Xero Network + "Name" => :string, # Display name of organisation shown in Xero + "LegalName" => :string, # Organisation name shown on Reports + "PaysTax" => :boolean, # Boolean to describe if organisation is registered with a local tax authority i.e. true, false + "Version" => :string, # See Version Types + "BaseCurrency" => :string, # Default currency for organisation. See Currency types + "OrganisationType" => :string, # UNDOCUMENTED parameter, only returned for "real" (i.e non-demo) companies + "OrganisationStatus" => :string, # UNDOCUMENTED parameter + "IsDemoCompany" => :boolean, # UNDOCUMENTED parameter + "APIKey" => :string, # UNDOCUMENTED paramater, returned if organisations are linked via Xero Network + "CountryCode" => :stirng # UNDOCUMENTED parameter } end attr_accessor *ATTRS.keys.map(&:underscore) \ No newline at end of file