class RoadForest::ContentHandling::Wrap::Render
Public Instance Methods
call(resource)
click to toggle source
# File lib/roadforest/content-handling/handler-wrap.rb, line 23 def call(resource) @handler.render_for(resource) end
content_type_header()
click to toggle source
# File lib/roadforest/content-handling/handler-wrap.rb, line 27 def content_type_header @type.content_type_header end