Sha256: d35fc2c46c41ea1cdb4f4947365f4e939f50b312dc6bc70352b751b9799bbc90

Contents?: true

Size: 383 Bytes

Versions: 1

Compression:

Stored size: 383 Bytes

Contents

module Serializers::Groups
  class Membership
    include RestPack::Serializer

    self.model_class = Models::Groups::Membership
    self.key = :memberships

    attributes :id, :application_id, :account_id, :group_id, :user_id,
               :invitation_id, :href
    can_include :groups, :invitations
    can_filter_by :application_id, :account_id, :group_id, :user_id
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
restpack_group_service-0.0.8 lib/restpack_group_service/serializers/membership.rb