Sha256: dc5da23fb8e2280887f3aede6936a8a4ffab86da8ead506fd9ee39cb0f12d943

Contents?: true

Size: 345 Bytes

Versions: 2

Compression:

Stored size: 345 Bytes

Contents

module RestPack::Core::Service::Serializers
  class DomainSerializer
    include RestPack::Serializer

    self.model_class = RestPack::Core::Service::Models::Domain
    self.key = :domains

    attributes :id, :identifier, :application_id, :is_verified, :session_secret,
               :oauth_providers

    can_include :applications
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
restpack_core_service-0.0.11 lib/restpack_core_service/serializers/domain_serializer.rb
restpack_core_service-0.0.10 lib/restpack_core_service/serializers/domain_serializer.rb