Sha256: ca8487981212fe2d0d82a85727a4989619b8c9ef5701f094d9e5e9348e95d9d9

Contents?: true

Size: 365 Bytes

Versions: 5

Compression:

Stored size: 365 Bytes

Contents

# frozen_string_literal: true

require_relative 'ledger_class'

module LedgerSync
  class LedgerClass < LedgerSync::Resource
    attribute :name, type: Type::String
    attribute :fully_qualified_name, type: Type::String
    attribute :active, type: Type::Boolean
    attribute :sub_class, type: Type::Boolean

    references_one :parent, to: LedgerClass
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

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