module Rakuna::Provides::Output

Public Instance Methods

content_types_provided() click to toggle source
# File lib/rakuna/provides/output.rb, line 9
def content_types_provided
  @content_types_provided ||= []
end
output() click to toggle source
# File lib/rakuna/provides/output.rb, line 14
def output
  ''
end
output_method() click to toggle source
# File lib/rakuna/provides/output.rb, line 19
def output_method
  @output_method ||= content_types_provided.select do |content_type|
    content_type.first == response.headers['Content-Type']
  end.flatten.last
end