Method: GnipApi::Apis::Search#initialize

Defined in:
lib/gnip_api/apis/search.rb

#initialize(params = {}) ⇒ Search

Returns a new instance of Search.


10
11
12
13
# File 'lib/gnip_api/apis/search.rb', line 10

def initialize params={}
  @adapter = GnipApi::Adapter.new
  @label = params[:label] || GnipApi.config.label
end