Sha256: ba674f22633059568c84605d5554cf25182336767b7ff4e4a1de4e6f45b46d70
Contents?: true
Size: 450 Bytes
Versions: 2
Compression:
Stored size: 450 Bytes
Contents
# frozen_string_literal: true module NovaposhtaApi module Models class Counterparty < Model property :Ref property :FirstName property :MiddleName property :LastName property :Phone property :Description property :City property :ContactPerson coerce_key :ContactPerson, lambda { |value| NovaposhtaApi::Models::ContactPerson.extract_single(value['data']) } end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
novaposhta_api-0.2.1 | lib/novaposhta_api/models/counterparty.rb |
novaposhta_api-0.2.0 | lib/novaposhta_api/models/counterparty.rb |