Module: LearnWeb::Client::Connection

Included in:
LearnWeb::Client
Defined in:
lib/learn_web/client/connection.rb

Instance Method Summary collapse

Instance Method Details

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



4
5
6
# File 'lib/learn_web/client/connection.rb', line 4

def get(url, options = {})
  request :get, url, options
end

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



8
9
10
# File 'lib/learn_web/client/connection.rb', line 8

def post(url, options = {})
  request :post, url, options
end