Sha256: c1c48f77c581dc1a0ad0ea372d9a50eb6b084ec4141e0007a19c045882b0b829

Contents?: true

Size: 630 Bytes

Versions: 14

Compression:

Stored size: 630 Bytes

Contents

# frozen_string_literal: true

module LedgerSync
  module NetSuite
    class Vendor
      class Deserializer < NetSuite::Deserializer
        id

        attribute :company_name,
                  hash_attribute: :companyName

        attribute :email

        attribute :phone_number,
                  hash_attribute: :phone

        attribute :first_name,
                  hash_attribute: :firstName

        attribute :last_name,
                  hash_attribute: :lastName

        attribute :subsidiary,
                  type: Type::DeserializerSubsidiaryType.new(subsidiary_class: Subsidiary)
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
ledger_sync-netsuite-0.6.2 lib/ledger_sync/netsuite/vendor/deserializer.rb
ledger_sync-netsuite-0.6.1 lib/ledger_sync/netsuite/vendor/deserializer.rb
ledger_sync-netsuite-0.6.0 lib/ledger_sync/netsuite/vendor/deserializer.rb
ledger_sync-netsuite-0.5.0 lib/ledger_sync/netsuite/vendor/deserializer.rb
ledger_sync-netsuite-0.4.2 lib/ledger_sync/netsuite/vendor/deserializer.rb
ledger_sync-netsuite-0.3.6 lib/ledger_sync/netsuite/vendor/deserializer.rb
ledger_sync-netsuite-0.3.5 lib/ledger_sync/netsuite/vendor/deserializer.rb
ledger_sync-netsuite-0.3.4 lib/ledger_sync/netsuite/vendor/deserializer.rb
ledger_sync-netsuite-0.3.3 lib/ledger_sync/netsuite/vendor/deserializer.rb
ledger_sync-netsuite-0.3.2 lib/ledger_sync/netsuite/vendor/deserializer.rb
ledger_sync-netsuite-0.3.1 lib/ledger_sync/netsuite/vendor/deserializer.rb
ledger_sync-netsuite-0.3.0 lib/ledger_sync/netsuite/vendor/deserializer.rb
ledger_sync-netsuite-0.2.0 lib/ledger_sync/netsuite/vendor/deserializer.rb
ledger_sync-netsuite-0.1.1 lib/ledger_sync/netsuite/vendor/deserializer.rb