Sha256: 94caafeb66d09c7b198954c76bdb1329bdbc50ec965c7f030e76ec8fb2dac80f

Contents?: true

Size: 493 Bytes

Versions: 4

Compression:

Stored size: 493 Bytes

Contents

# frozen_string_literal: true

require_relative 'currency'

module LedgerSync
  class Account < LedgerSync::Resource
    attribute :name, type: Type::String
    attribute :classification, type: Type::String
    attribute :account_type, type: Type::String
    attribute :account_sub_type, type: Type::String
    attribute :number, type: Type::String
    attribute :description, type: Type::String
    attribute :active, type: Type::Boolean

    references_one :currency, to: Currency
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ledger_sync-1.3.5 lib/ledger_sync/resources/account.rb
ledger_sync-1.3.4 lib/ledger_sync/resources/account.rb
ledger_sync-1.3.3 lib/ledger_sync/resources/account.rb
ledger_sync-1.3.2 lib/ledger_sync/resources/account.rb