Sha256: 2b6bb331a2a63db75d16eff7c42f6281c9c8211a4887373fb07dc29bd4c8e1c7

Contents?: true

Size: 393 Bytes

Versions: 2

Compression:

Stored size: 393 Bytes

Contents

# frozen_string_literal: true

require_relative './paginated_response'
require_relative '../../data_object/industry'

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

Version data entries

2 entries across 2 versions & 1 rubygems

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