class Makanai::Response
Attributes
header[RW]
Public Class Methods
new()
click to toggle source
Calls superclass method
# File lib/makanai/response.rb, line 7 def initialize super @header = { 'Content-Type' => 'text/html' } end
Public Instance Methods
result()
click to toggle source
# File lib/makanai/response.rb, line 14 def result [status, header, body.map(&:to_s)] end