Class: Holoserve::Response::Composer

Inherits:
Object
  • Object
show all
Defined in:
lib/holoserve/response/composer.rb

Instance Method Summary collapse

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_arrayObject



9
10
11
# File 'lib/holoserve/response/composer.rb', line 9

def response_array
  [ status, headers, [ body ] ]
end