Class: BOSSMan::Search
- Inherits:
-
Object
- Object
- BOSSMan::Search
- Defined in:
- lib/bossman/search.rb
Constant Summary collapse
- DEFAULT_COUNT =
10
- DEFAULT_START =
0
Class Method Summary collapse
- .images(query, options = {}) ⇒ Object
- .links(query, options = {}) ⇒ Object
- .news(query, options = {}) ⇒ Object
- .spelling(query, options = {}) ⇒ Object
- .web(query, options = {}) ⇒ Object
Class Method Details
.images(query, options = {}) ⇒ Object
13 14 15 16 17 |
# File 'lib/bossman/search.rb', line 13 def images(query, = {}) method = "images" .merge!(()) return REST.get(method, query, ) end |
.links(query, options = {}) ⇒ Object
31 32 33 34 35 |
# File 'lib/bossman/search.rb', line 31 def links(query, = {}) method = "se_inlink" .merge!(()) return REST.get(method, query, ) end |
.news(query, options = {}) ⇒ Object
19 20 21 22 23 |
# File 'lib/bossman/search.rb', line 19 def news(query, = {}) method = "news" .merge!(()) return REST.get(method, query, ) end |