Module: Shirtsio::Request
- Included in:
- API
- Defined in:
- lib/shirtsio/request.rb
Instance Method Summary collapse
Instance Method Details
#get(path, options = {}, headers = {}) ⇒ Object
3 4 5 |
# File 'lib/shirtsio/request.rb', line 3 def get(path, = {}, headers = {}) request(:get, path, , headers) end |
#post(path, options = {}, headers = {}) ⇒ Object
7 8 9 |
# File 'lib/shirtsio/request.rb', line 7 def post(path, = {}, headers = {}) request(:post, path, , headers) end |