Class: Socialinvestigator::Client::Hn

Inherits:
Object
  • Object
show all
Includes:
HTTParty
Defined in:
lib/socialinvestigator/client/hn.rb

Instance Method Summary collapse

Instance Method Details

#search_by_date(query, tags = nil) ⇒ Object



9
10
11
12
13
# File 'lib/socialinvestigator/client/hn.rb', line 9

def search_by_date( query, tags = nil )
  params = {query: query }
  params[:tags] = tags if tags
  self.class.get '/search_by_date', { query: params }
end