Class: Holoserve::Response::Composer
- Inherits:
-
Object
- Object
- Holoserve::Response::Composer
- Defined in:
- lib/holoserve/response/composer.rb
Instance Method Summary collapse
-
#initialize(response) ⇒ Composer
constructor
A new instance of Composer.
- #response_array ⇒ Object
Constructor Details
#initialize(response) ⇒ Composer
Returns a new instance of Composer.
5 6 7 |
# File 'lib/holoserve/response/composer.rb', line 5 def initialize(response) @response = response end |
Instance Method Details
#response_array ⇒ Object
9 10 11 |
# File 'lib/holoserve/response/composer.rb', line 9 def response_array [ status, headers, [ body ] ] end |