Sha256: b9ae1afef9fa8d3eb5e2ebd327d9b798552ae0075302d8391cb34ca491dc9fd7

Contents?: true

Size: 878 Bytes

Versions: 5

Compression:

Stored size: 878 Bytes

Contents

# frozen_string_literal: true

require_relative "../providers_user_details"

module ONEAccess
  module DataObject
    module Representer
      class ProvidersUsersDetails < Representable::Decorator
        include Representable::JSON

        property :provider_id, as: :providerid, type: Integer
        property :buy_side_org_id, as: :buysideorgid, type: Integer
        property :provider_name, as: :providername, type: String
        property :contract_status, as: :contractstatus, type: String
        property :contract_status_id, as: :contractstatusid, type: String
        property :buy_side_org_name, as: :buysideorgname, type: String
        property :users_count, as: :userscount, type: Integer
        collection :users, decorator: Representer::ProvidersUserDetails,
                           class:     DataObject::ProvidersUserDetails
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
oneaccess-1.2.0 lib/oneaccess/data_object/representer/providers_users_details.rb
oneaccess-1.1.0 lib/oneaccess/data_object/representer/providers_users_details.rb
oneaccess-1.0.1 lib/oneaccess/data_object/representer/providers_users_details.rb
oneaccess-1.0.0 lib/oneaccess/data_object/representer/providers_users_details.rb
oneaccess-0.5.0 lib/oneaccess/data_object/representer/providers_users_details.rb