Parent

Methods

Class/Module Index [+]

Quicksearch

OpenShift::Responder

Constants

ACTIONS_FOR_VERBS

Public Instance Methods

api_behavior(error) click to toggle source
# File lib/controller_engine.rb, line 41
def api_behavior(error)
  raise error unless resourceful?
  status = options[:status] || (resource.respond_to?(:status) && resource.status) || nil
  display resource, status: status
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.