Sha256: 5cf5c436455e490079198e887505760b4699a34a5b8c0851fcd62e1fa34f2094

Contents?: true

Size: 1.14 KB

Versions: 4

Compression:

Stored size: 1.14 KB

Contents

# frozen_string_literal: true

module LedgerSync
  module Ledgers
    module QuickBooksOnline
      class Preferences
        class Serializer < QuickBooksOnline::Serializer
          id

          attribute 'AccountingInfoPrefs',
                    resource_attribute: :accounting_info

          attribute 'ProductAndServicesPrefs',
                    resource_attribute: :product_and_services

          attribute 'SalesFormsPrefs',
                    resource_attribute: :sales_forms

          attribute 'EmailMessagesPrefs',
                    resource_attribute: :email_messages

          attribute 'VendorAndPurchasesPrefs',
                    resource_attribute: :vendor_and_purchases

          attribute 'TimeTrackingPrefs',
                    resource_attribute: :time_tracking

          attribute 'TaxPrefs',
                    resource_attribute: :tax

          attribute 'CurrencyPrefs',
                    resource_attribute: :currency

          attribute 'ReportPrefs',
                    resource_attribute: :report

          attribute 'OtherPrefs',
                    resource_attribute: :other
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ledger_sync-1.4.4 lib/ledger_sync/ledgers/quickbooks_online/preferences/serializer.rb
ledger_sync-1.4.2 lib/ledger_sync/ledgers/quickbooks_online/preferences/serializer.rb
ledger_sync-1.4.1 lib/ledger_sync/ledgers/quickbooks_online/preferences/serializer.rb
ledger_sync-1.4.0 lib/ledger_sync/ledgers/quickbooks_online/preferences/serializer.rb