Class: DataComApi::Responses::SearchCompany

Inherits:
SearchBase show all
Defined in:
lib/data-com-api/responses/search_company.rb

Constant Summary collapse

MAX_PAGE_SIZE =
100

Constants inherited from SearchBase

DataComApi::Responses::SearchBase::OFFSET_KEYS

Instance Method Summary collapse

Methods inherited from SearchBase

#all, #at_offset, #each_with_index, #max_size, #real_max_offset, #real_size, #size

Constructor Details

#initialize(api_client, received_options) ⇒ SearchCompany

Returns a new instance of SearchCompany.



11
12
13
14
15
# File 'lib/data-com-api/responses/search_company.rb', line 11

def initialize(api_client, received_options)
  super

  @page_size = MAX_PAGE_SIZE if @page_size > MAX_PAGE_SIZE
end