Class: Oceanarium::Request
- Inherits:
-
Object
- Object
- Oceanarium::Request
- Includes:
- HTTParty
- Defined in:
- lib/oceanarium/request.rb
Instance Method Summary collapse
Instance Method Details
#get(path, options = {}) ⇒ Object
9 10 11 12 |
# File 'lib/oceanarium/request.rb', line 9 def get(path, ={}) .merge!({:client_id => Oceanarium::Config.client_id.to_s, :api_key => Oceanarium::Config.api_key.to_s}) self.class.get(path, :query => ) end |