Sha256: 4089f205c8166a121efc1081727681246b5f98ddb16f74ad228c0945280b8cc9

Contents?: true

Size: 408 Bytes

Versions: 2

Compression:

Stored size: 408 Bytes

Contents

# frozen_string_literal: true

require_relative './paginated_response'
require_relative '../../data_object/company_light'

module ONEAccess
  module Response
    module Representer
      class CompaniesResponse < PaginatedResponse
        collection :data,
          as: :Data,
          decorator: DataObject::Representer::CompanyLight,
          class: DataObject::CompanyLight
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
oneaccess-1.3.1 lib/oneaccess/response/representer/companies_response.rb
oneaccess-1.3.0 lib/oneaccess/response/representer/companies_response.rb