Class: Shin::Base
- Inherits:
-
Object
- Object
- Shin::Base
- Includes:
- HTTParty, HTTParty::Icebox
- Defined in:
- lib/shin/base.rb
Instance Method Summary collapse
Methods included from HTTParty::Icebox
Instance Method Details
#get(url, parameters = {}) ⇒ Object
10 11 12 13 14 |
# File 'lib/shin/base.rb', line 10 def get(url, parameters={}) response = self.class.get(url, parameters).parsed_response return [] unless response response end |
#new ⇒ Object
6 7 8 |
# File 'lib/shin/base.rb', line 6 def new self end |