Class: ExceptionOverflow::StackOverflow
- Inherits:
-
Object
- Object
- ExceptionOverflow::StackOverflow
- Includes:
- HTTParty
- Defined in:
- lib/exception_overflow/stack_overflow.rb
Class Method Summary collapse
Class Method Details
.search(options = {}) ⇒ Object
9 10 11 12 13 14 15 16 17 18 |
# File 'lib/exception_overflow/stack_overflow.rb', line 9 def self.search( = {}) .merge!({ answers: 1, site: 'stackoverflow', sort: 'relevance', tagged: 'ruby' }) get('/search/advanced', { query: }) end |