Sha256: a679f565da69986a8f3f19eedcbd00739842da73ccd65b0c93ffa9a3156ee065

Contents?: true

Size: 330 Bytes

Versions: 1

Compression:

Stored size: 330 Bytes

Contents

module Serializers::Activities
  class Activity
    include RestPack::Serializer

    self.model_class = Models::Activities::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

1 entries across 1 versions & 1 rubygems

Version Path
restpack_activity_service-0.0.13 lib/restpack_activity_service/serializers/activity.rb