Module: Portal1C::Request
Constant Summary
Constants included from Connection
Instance Method Summary collapse
Methods included from Connection
Instance Method Details
#get(path, client, params = {}) ⇒ Object
9 10 11 |
# File 'lib/portal_1c/request.rb', line 9 def get(path, client, params = {}) respond_with(connection(client).get(path, params)) end |
#post(path, client, params = {}) ⇒ Object
13 14 15 |
# File 'lib/portal_1c/request.rb', line 13 def post(path, client, params = {}) respond_with(connection(client).post(path, JSON.dump(params))) end |