Class: Juke::Adapters::Rack
- Inherits:
-
Object
- Object
- Juke::Adapters::Rack
- Includes:
- Rack::Test::Methods
- Defined in:
- lib/juke/adapters/rack.rb
Direct Known Subclasses
Instance Method Summary collapse
- #app ⇒ Object
- #delete_with_juke(url, params = {}) ⇒ Object
- #get_with_juke(url, params = {}) ⇒ Object
- #post_with_juke(url, params = {}) ⇒ Object
- #put_with_juke(url, params = {}) ⇒ Object
- #raw_response_body ⇒ Object
- #response_status ⇒ Object
Instance Method Details
#delete_with_juke(url, params = {}) ⇒ Object
41 42 43 |
# File 'lib/juke/adapters/rack.rb', line 41 def delete_with_juke(url, params = {}) delete_without_juke(url, params) end |
#get_with_juke(url, params = {}) ⇒ Object
26 27 28 |
# File 'lib/juke/adapters/rack.rb', line 26 def get_with_juke(url, params = {}) get_without_juke(url, params) end |
#post_with_juke(url, params = {}) ⇒ Object
31 32 33 |
# File 'lib/juke/adapters/rack.rb', line 31 def post_with_juke(url, params = {}) post_without_juke(url, params) end |
#put_with_juke(url, params = {}) ⇒ Object
36 37 38 |
# File 'lib/juke/adapters/rack.rb', line 36 def put_with_juke(url, params = {}) put_without_juke(url, params) end |
#raw_response_body ⇒ Object
46 47 48 |
# File 'lib/juke/adapters/rack.rb', line 46 def raw_response_body last_response.body end |
#response_status ⇒ Object
50 51 52 |
# File 'lib/juke/adapters/rack.rb', line 50 def response_status last_response.status end |