Class: Abc::Frontend::Conductors::ShowsPage

Inherits:
BaseConductor
  • Object
show all
Defined in:
app/conductors/abc/frontend/conductors/shows_page.rb

Instance Method Summary collapse

Instance Method Details

#to_responseObject

Wraps and organizes response to controller.


14
15
16
17
18
# File 'app/conductors/abc/frontend/conductors/shows_page.rb', line 14

def to_response
  data.merge(data) do |key, value|
    options[:presenter_classes][key.to_sym].new(value)
  end
end