class Aldous::Respondable::Headable::HeadAction

Attributes

controller[R]
status[R]

Public Class Methods

new(controller, status) click to toggle source
# File lib/aldous/respondable/headable.rb, line 19
def initialize(controller, status)
  @controller = controller
  @status = status
end

Public Instance Methods

execute() click to toggle source
# File lib/aldous/respondable/headable.rb, line 24
def execute
  controller.head status
end