Module: EventMachine::AblyHttpRequest::HTTPMethods
- Included in:
- HttpConnection
- Defined in:
- lib/em-http/http_connection.rb
Instance Method Summary collapse
- #delete(options = {}, &blk) ⇒ Object
- #get(options = {}, &blk) ⇒ Object
- #head(options = {}, &blk) ⇒ Object
- #options(options = {}, &blk) ⇒ Object
- #patch(options = {}, &blk) ⇒ Object
- #post(options = {}, &blk) ⇒ Object
- #put(options = {}, &blk) ⇒ Object
Instance Method Details
#delete(options = {}, &blk) ⇒ Object
9 |
# File 'lib/em-http/http_connection.rb', line 9 def delete = {}, &blk; setup_request(:delete, , &blk); end |
#get(options = {}, &blk) ⇒ Object
7 |
# File 'lib/em-http/http_connection.rb', line 7 def get = {}, &blk; setup_request(:get, , &blk); end |
#head(options = {}, &blk) ⇒ Object
8 |
# File 'lib/em-http/http_connection.rb', line 8 def head = {}, &blk; setup_request(:head, , &blk); end |
#options(options = {}, &blk) ⇒ Object
13 |
# File 'lib/em-http/http_connection.rb', line 13 def = {}, &blk; setup_request(:options, , &blk); end |
#patch(options = {}, &blk) ⇒ Object
12 |
# File 'lib/em-http/http_connection.rb', line 12 def patch = {}, &blk; setup_request(:patch, , &blk); end |
#post(options = {}, &blk) ⇒ Object
11 |
# File 'lib/em-http/http_connection.rb', line 11 def post = {}, &blk; setup_request(:post, , &blk); end |
#put(options = {}, &blk) ⇒ Object
10 |
# File 'lib/em-http/http_connection.rb', line 10 def put = {}, &blk; setup_request(:put, , &blk); end |