Class: Gooru::Request
- Inherits:
-
Object
- Object
- Gooru::Request
- Defined in:
- lib/gooru/request.rb
Class Method Summary collapse
Class Method Details
.get(options = {}) ⇒ Object
4 5 6 7 |
# File 'lib/gooru/request.rb', line 4 def self.get( = {}) response = client.new.get().perform Gooru::Response.new(response) end |
.post(options = {}) ⇒ Object
9 10 11 12 |
# File 'lib/gooru/request.rb', line 9 def self.post( = {}) response = client.new.post().perform Gooru::Response.new(response) end |