Sha256: 356cc5c6f589eb417d70374c8cd9bfc1b629208d364fbd9069e2145922cabffb

Contents?: true

Size: 116 Bytes

Versions: 5

Compression:

Stored size: 116 Bytes

Contents

class OrderSerializer < SimpleJsonapi::Serializer
  type "orders"

  attribute :customer_name
  attribute :date
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
simple_jsonapi_rails-1.3.0 test/dummy/app/serializers/order_serializer.rb
simple_jsonapi_rails-1.2.0 test/dummy/app/serializers/order_serializer.rb
simple_jsonapi_rails-1.1.1 test/dummy/app/serializers/order_serializer.rb
simple_jsonapi_rails-1.1.0 test/dummy/app/serializers/order_serializer.rb
simple_jsonapi_rails-1.0.0 test/dummy/app/serializers/order_serializer.rb