Module: Stosp::Client::Connection
- Included in:
- Stosp::Client
- Defined in:
- lib/stosp/client/connection.rb
Instance Method Summary collapse
- #delete(path, options = {}) ⇒ Object
- #get(path, options = {}) ⇒ Object
- #post(path, options = {}) ⇒ Object
- #put(path, options = {}) ⇒ Object
Instance Method Details
#delete(path, options = {}) ⇒ Object
18 19 20 |
# File 'lib/stosp/client/connection.rb', line 18 def delete(path, = {}) request :delete, path, end |
#get(path, options = {}) ⇒ Object
6 7 8 |
# File 'lib/stosp/client/connection.rb', line 6 def get(path, = {}) request :get, path, end |
#post(path, options = {}) ⇒ Object
10 11 12 |
# File 'lib/stosp/client/connection.rb', line 10 def post(path, = {}) request :post, path, end |
#put(path, options = {}) ⇒ Object
14 15 16 |
# File 'lib/stosp/client/connection.rb', line 14 def put(path, = {}) request :put, path, end |