Sha256: 313617d500a975482dbf44fb57afce61148df3ec781d3840ba1230f38f7b59a4
Contents?: true
Size: 524 Bytes
Versions: 29
Compression:
Stored size: 524 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, :public_metadata 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
29 entries across 29 versions & 3 rubygems