Sha256: 4d12320cfd590016378768294c66c76429a249a2072a04e2acb079cab3ddf6b9
Contents?: true
Size: 506 Bytes
Versions: 19
Compression:
Stored size: 506 Bytes
Contents
module Spree module V2 module Storefront class AddressSerializer < BaseSerializer set_type :address attributes :firstname, :lastname, :address1, :address2, :city, :zipcode, :phone, :state_name, :company, :country_name, :country_iso3, :country_iso, :label attribute :state_code do |address| address.state_abbr end attribute :state_name do |address| address.state_name_text end end end end end
Version data entries
19 entries across 19 versions & 1 rubygems