Skip to content

abstract class Athena::HTTPKernel::ActionBase
inherits Reference #

Parent type of a controller action just used for typing.

See AHK::Action.

Direct known subclasses

Athena::HTTPKernel::Action(ReturnType, ParameterTypeTuple, ParametersType)

Methods#

abstract #execute(arguments : Array)#

View source

#inspect(io : IO) : Nil#

Appends a String representation of this object which includes its class name, its object address and the values of all instance variables.

class Person
  def initialize(@name : String, @age : Int32)
  end
end

Person.new("John", 32).inspect # => #<Person:0x10fd31f20 @name="John", @age=32>
View source

abstract #resolve_arguments(value_resolvers : Array, request : AHTTP::Request) : Array#

View source