Module: HelloBlock::Request
Constant Summary
Constants included from Endpoints
Instance Method Summary collapse
Methods included from Endpoints
Instance Method Details
#get(path, params = {}) ⇒ Object
8 9 10 |
# File 'lib/helloblock/http/request.rb', line 8 def get(path, params={}) request(:get, version_path + path, params, headers) end |
#post(path, params = {}) ⇒ Object
12 13 14 |
# File 'lib/helloblock/http/request.rb', line 12 def post(path, params={}) request(:post, version_path + path, { body: params }, headers) end |