Module: Payture::Request
- Included in:
- Api
- Defined in:
- lib/payture/request.rb
Instance Method Summary collapse
- #delete(path, options = {}, raw = false, unformatted = false, no_response_wrapper = false) ⇒ Object
- #get(path, options = {}, raw = false, unformatted = false, no_response_wrapper = false) ⇒ Object
- #post(path, options = {}, raw = false, unformatted = false, no_response_wrapper = false) ⇒ Object
- #put(path, options = {}, raw = false, unformatted = false, no_response_wrapper = false) ⇒ Object
Instance Method Details
#delete(path, options = {}, raw = false, unformatted = false, no_response_wrapper = false) ⇒ Object
16 17 18 |
# File 'lib/payture/request.rb', line 16 def delete(path, ={}, raw=false, unformatted=false, no_response_wrapper=false) request(:delete, path, , raw, unformatted, no_response_wrapper) end |
#get(path, options = {}, raw = false, unformatted = false, no_response_wrapper = false) ⇒ Object
4 5 6 |
# File 'lib/payture/request.rb', line 4 def get(path, ={}, raw=false, unformatted=false, no_response_wrapper=false) request(:get, path, , raw, unformatted, no_response_wrapper) end |
#post(path, options = {}, raw = false, unformatted = false, no_response_wrapper = false) ⇒ Object
8 9 10 |
# File 'lib/payture/request.rb', line 8 def post(path, ={}, raw=false, unformatted=false, no_response_wrapper=false) request(:post, path, , raw, unformatted, no_response_wrapper) end |
#put(path, options = {}, raw = false, unformatted = false, no_response_wrapper = false) ⇒ Object
12 13 14 |
# File 'lib/payture/request.rb', line 12 def put(path, ={}, raw=false, unformatted=false, no_response_wrapper=false) request(:put, path, , raw, unformatted, no_response_wrapper) end |