Sha256: 278665326ce378d75ac07efe3125d0f7e9f035a9506555d167f269477cb02afe
Contents?: true
Size: 773 Bytes
Versions: 4
Compression:
Stored size: 773 Bytes
Contents
# frozen_string_literal: true require_relative '../reference/serializer' module LedgerSync module Ledgers module QuickBooksOnline class Account class Serializer < QuickBooksOnline::Serializer id attribute :Name attribute :AcctNum attribute :Description attribute :Active mapping :AccountType, hash: Account::TYPES mapping :AccountSubType, hash: Account::SUB_TYPES mapping :Classification, hash: Account::CLASSIFICATIONS references_one :CurrencyRef, resource_attribute: :Currency, serializer: Reference::Serializer end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems