Sha256: 732674d82bc146014f9681e4685d54b66c009b12dc3fd48c68d11827e8bfb3ba

Contents?: true

Size: 835 Bytes

Versions: 27

Compression:

Stored size: 835 Bytes

Contents

module Xeroizer
  module Record
    
    class OrganisationModel < BaseModel
    
      set_api_controller_name 'Organisation'
      set_permissions :read
      
    end
    
    class Organisation < Base
      
      string    :api_key, :api_name => 'APIKey'
      string    :name
      string    :legal_name
      boolean   :pays_tax
      string    :version
      string    :organisation_type
      string    :base_currency
      string    :country_code
      boolean   :is_demo_company
      string    :organisation_status
      integer   :financial_year_end_day
      integer   :financial_year_end_month
      date      :period_lock_date
      date      :end_of_year_lock_date
      string    :tax_number
      string    :registration_number
      datetime  :created_date_utc, :api_name => 'CreatedDateUTC'

    end
    
  end
end

Version data entries

27 entries across 27 versions & 2 rubygems

Version Path
xeroizer-2.15.2 lib/xeroizer/models/organisation.rb
xeroizer-2.15.1 lib/xeroizer/models/organisation.rb
xeroizer-2.15.0 lib/xeroizer/models/organisation.rb
xeroizer-0.5.2 lib/xeroizer/models/organisation.rb
xeroizer-0.5.1 lib/xeroizer/models/organisation.rb
xeroizer-0.5.0 lib/xeroizer/models/organisation.rb
xeroizer-0.4.4 lib/xeroizer/models/organisation.rb