Module: Roda::RodaPlugins::DefaultStatus::ResponseMethods

Defined in:
lib/roda/plugins/default_status.rb

Instance Method Summary collapse

Instance Method Details

#default_statusObject

instance_exec the default_status plugin block to get the response status.



28
29
30
# File 'lib/roda/plugins/default_status.rb', line 28

def default_status
  instance_exec(&roda_class.opts[:default_status])
end