Sha256: 686e3c04326406b905baf325fdf7b231c5b108967a61553e7628785066fb7ab3

Contents?: true

Size: 374 Bytes

Versions: 5

Compression:

Stored size: 374 Bytes

Contents

module RestPack::Activity::Service::Serializers
  class ActivitySerializer
    include RestPack::Serializer

    self.model_class = RestPack::Activity::Service::Models::Activity
    self.key = :activities

    attributes :id, :application_id, :user_id, :title, :content, :latitude, :longitude,
               :tags, :access, :data, :href, :updated_at, :created_at
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
restpack_activity_service-0.0.10 lib/restpack_activity_service/serializers/activity_serializer.rb
restpack_activity_service-0.0.9 lib/restpack_activity_service/serializers/activity_serializer.rb
restpack_activity_service-0.0.8 lib/restpack_activity_service/serializers/activity_serializer.rb
restpack_activity_service-0.0.7 lib/restpack_activity_service/serializers/activity_serializer.rb
restpack_activity_service-0.0.5 lib/restpack_activity_service/serializers/activity_serializer.rb