Class: RGSearch::Search
- Inherits:
-
Object
- Object
- RGSearch::Search
- Defined in:
- lib/rgsearch/search.rb
Class Method Summary collapse
- .blogs(query, options = {}) ⇒ Object
- .books(query, options = {}) ⇒ Object
- .images(query, options = {}) ⇒ Object
- .local(query, options = {}) ⇒ Object
- .news(query, options = {}) ⇒ Object
- .videos(query, options = {}) ⇒ Object
- .web(query, options = {}) ⇒ Object
Class Method Details
.blogs(query, options = {}) ⇒ Object
17 18 19 |
# File 'lib/rgsearch/search.rb', line 17 def self.blogs(query, = {}) find 'blogs', query, end |
.books(query, options = {}) ⇒ Object
25 26 27 |
# File 'lib/rgsearch/search.rb', line 25 def self.books(query, = {}) find 'books', query, end |
.images(query, options = {}) ⇒ Object
9 10 11 |
# File 'lib/rgsearch/search.rb', line 9 def self.images(query, = {}) find 'images', query, end |
.local(query, options = {}) ⇒ Object
29 30 31 |
# File 'lib/rgsearch/search.rb', line 29 def self.local(query, = {}) find 'local', query, end |
.news(query, options = {}) ⇒ Object
13 14 15 |
# File 'lib/rgsearch/search.rb', line 13 def self.news(query, = {}) find 'news', query, end |
.videos(query, options = {}) ⇒ Object
21 22 23 |
# File 'lib/rgsearch/search.rb', line 21 def self.videos(query, = {}) find 'video', query, end |
.web(query, options = {}) ⇒ Object
5 6 7 |
# File 'lib/rgsearch/search.rb', line 5 def self.web(query, = {}) find 'web', query, end |