Sha256: 613419b63f2c5fe8cc16e7c744bc8f73278259739d6cb8fb6593197b9974b8ff

Contents?: true

Size: 442 Bytes

Versions: 8

Compression:

Stored size: 442 Bytes

Contents

# frozen_string_literal: true

module Desertcart
  module Marketplace
    class ShippingAddress
      class Deserializer < Desertcart::Deserializer
        attribute :ledger_id, hash_attribute: 'shipping_address_id'
        attribute :name
        attribute 'address_line_1'
        attribute 'address_line_2'
        attribute :city
        attribute :state
        attribute :zip_code
        attribute :country
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
desertcart-1.2.0 lib/desertcart/marketplace/shipping_address/deserializer.rb
desertcart-1.1.5 lib/desertcart/marketplace/shipping_address/deserializer.rb
desertcart-1.1.4 lib/desertcart/marketplace/shipping_address/deserializer.rb
desertcart-1.1.3 lib/desertcart/marketplace/shipping_address/deserializer.rb
desertcart-1.1.2 lib/desertcart/marketplace/shipping_address/deserializer.rb
desertcart-1.1.1 lib/desertcart/marketplace/shipping_address/deserializer.rb
desertcart-1.1.0 lib/desertcart/marketplace/shipping_address/deserializer.rb
desertcart-1.0.0 lib/desertcart/marketplace/shipping_address/deserializer.rb