Sha256: 34a5f624427b7d3acfa072669d5b7301b3c1645794804923d2c76a29b0f89397

Contents?: true

Size: 231 Bytes

Versions: 1

Compression:

Stored size: 231 Bytes

Contents

module Sprangular
  class AddressSerializer < BaseSerializer
    attributes *address_attributes

    has_one :country, serializer: Sprangular::CountrySerializer
    has_one :state, serializer: Sprangular::StateSerializer
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sprangular-0.1.0 app/serializers/sprangular/address_serializer.rb