lib/xeroizer/generic_application.rb in xeroizer-2.15.8 vs lib/xeroizer/generic_application.rb in xeroizer-2.15.9

- old
+ new

@@ -4,19 +4,20 @@ class GenericApplication include Http extend Record::ApplicationHelper - attr_reader :client, :xero_url, :logger, :rate_limit_sleep, :rate_limit_max_attempts, :default_headers + attr_reader :client, :xero_url, :logger, :rate_limit_sleep, :rate_limit_max_attempts, :default_headers, :unitdp extend Forwardable def_delegators :client, :access_token record :Account record :Attachment record :BrandingTheme record :Contact + record :ContactGroup record :CreditNote record :Currency record :Employee record :ExpenseClaim record :Invoice @@ -26,10 +27,11 @@ record :Organisation record :Payment record :Receipt record :TaxRate record :TrackingCategory + record :TrackingCategoryChild record :BankTransaction record :User report :AgedPayablesByContact report :AgedReceivablesByContact @@ -52,9 +54,10 @@ @rate_limit_sleep = options[:rate_limit_sleep] || false @rate_limit_max_attempts = options[:rate_limit_max_attempts] || 5 @default_headers = options[:default_headers] || {} @client = OAuth.new(consumer_key, consumer_secret, options.merge({default_headers: default_headers})) @logger = options[:logger] || false + @unitdp = options[:unitdp] || 2 end end end