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, = {}) request :get, url, end |
#post(url, options = {}) ⇒ Object
8 9 10 |
# File 'lib/learn_web/client/connection.rb', line 8 def post(url, = {}) request :post, url, end |