Sha256: c857f839c93e0b634e8192b22c7e9ad3fc2521bc8e57b1d0829466739bbacd32

Contents?: true

Size: 235 Bytes

Versions: 4

Compression:

Stored size: 235 Bytes

Contents

require 'active_model/serializer'

module SpreeSignifyd
  class BillingAddressSerializer < AddressSerializer
    self.root = false

    def attributes
      hash = {}
      hash['billingAddress'] = address
      hash
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
solidus_signifyd-1.1.0 app/serializers/spree_signifyd/billing_address_serializer.rb
solidus_signifyd-1.0.1 app/serializers/spree_signifyd/billing_address_serializer.rb
solidus_signifyd-1.0.0 app/serializers/spree_signifyd/billing_address_serializer.rb
solidus_signifyd-0.1.1 app/serializers/spree_signifyd/billing_address_serializer.rb