Class: Itis
- Inherits:
-
Object
- Object
- Itis
- Includes:
- HTTParty
- Defined in:
- lib/itis/version.rb,
lib/itis.rb
Constant Summary collapse
- VERSION =
"0.0.2"
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.search(q) ⇒ Object
62 63 64 |
# File 'lib/itis.rb', line 62 def self.search(q) Itis.new.search(q) end |
Instance Method Details
#search(q) ⇒ Object
58 59 60 |
# File 'lib/itis.rb', line 58 def search(q) self.class.get('/Page_VisualSearch.aspx',:query => {q: q}).parsed_response end |