Module: BlockScore::Connection
- Included in:
- Base
- Defined in:
- lib/blockscore/connection.rb
Instance Method Summary collapse
- #delete(path, params) ⇒ Object
- #get(path, params) ⇒ Object
- #patch(path, params) ⇒ Object
- #post(path, params) ⇒ Object
Instance Method Details
#delete(path, params) ⇒ Object
15 16 17 |
# File 'lib/blockscore/connection.rb', line 15 def delete(path, params) request(:delete, path, params) end |
#get(path, params) ⇒ Object
3 4 5 |
# File 'lib/blockscore/connection.rb', line 3 def get(path, params) request :get, path, params end |
#patch(path, params) ⇒ Object
11 12 13 |
# File 'lib/blockscore/connection.rb', line 11 def patch(path, params) request(:patch, path, params) end |
#post(path, params) ⇒ Object
7 8 9 |
# File 'lib/blockscore/connection.rb', line 7 def post(path, params) request(:post, path, params) end |