Class: Skooby::Request

Inherits:
Object
  • Object
show all
Includes:
HTTParty
Defined in:
lib/skooby/request.rb

Instance Method Summary collapse

Instance Method Details

#get(path, options = {}) ⇒ Object



10
11
12
# File 'lib/skooby/request.rb', line 10

def get(path, options = {})
  self.class.get(path, options).body
end

#post(path, options = {}) ⇒ Object



6
7
8
# File 'lib/skooby/request.rb', line 6

def post(path, options = {})
  self.class.post(path, options).body
end