Sha256: bfb15d87c6d0ccfab3571a38f129c392be19fa7f9483ec631d0038b2b2b80879

Contents?: true

Size: 271 Bytes

Versions: 1

Compression:

Stored size: 271 Bytes

Contents

module Sprangular
  class ShippingMethodSerializer < BaseSerializer
    attributes :id, :code, :name

    has_many :shipping_categories,
             serializer: Sprangular::ShippingCategorySerializer
    has_many :zones, serializer: Sprangular::ZoneSerializer
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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