Sha256: cc3611a26706895bfad7aa2edb1aa1afe085019b875a2c4b455c9aba234b6ea5

Contents?: true

Size: 110 Bytes

Versions: 4

Compression:

Stored size: 110 Bytes

Contents

class UnitarySerializer < ActiveModel::Serializer
  attributes :foo, :extra

  def extra
    'extra'
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
sinatra-active-model-serializers-0.3.0 spec/app/serializers/unitary_serializer.rb
sinatra-active-model-serializers-0.2.2 spec/app/serializers/unitary_serializer.rb
sinatra-active-model-serializers-0.2.1 spec/app/serializers/unitary_serializer.rb
sinatra-active-model-serializers-0.2.0 spec/app/serializers/unitary_serializer.rb