Class: Bgg::Search

Inherits:
Object
  • Object
show all
Defined in:
lib/bgg/search.rb,
lib/bgg/search_result.rb

Defined Under Namespace

Classes: Result

Class Method Summary collapse

Class Method Details

.exact_query(search_string) ⇒ Object



7
8
9
10
# File 'lib/bgg/search.rb', line 7

def self.exact_query(search_string)
  results = do_the_search(search_string, true)
  results[0]
end

.query(search_string) ⇒ Object



3
4
5
# File 'lib/bgg/search.rb', line 3

def self.query(search_string)
  do_the_search(search_string)
end