Sha256: 209036297a1baae5c7efc9279f653756e74aa058ab30491565df3f9e030ab761

Contents?: true

Size: 270 Bytes

Versions: 1

Compression:

Stored size: 270 Bytes

Contents

module RestPack::Account::Service::Serializers
  class Account
    include RestPack::Serializer

    self.model_class = Models::Account
    self.key = :accounts

    attributes :id, :application_id, :created_by, :name, :href

    can_filter_by :application_id
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
restpack_account_service-0.0.4 lib/restpack_account_service/serializers/account.rb