Module: Hanami::Controller

Defined in:
gems/gems/hanami-controller-1.3.2/lib/hanami/controller.rb,
gems/gems/hanami-controller-1.3.2/lib/hanami/action/exposable/guard.rb,
gems/gems/hanami-controller-1.3.2/lib/hanami/controller/error.rb,
gems/gems/hanami-controller-1.3.2/lib/hanami/controller/version.rb,
gems/gems/hanami-controller-1.3.2/lib/hanami/controller/configuration.rb,
gems/gems/hanami-controller-1.3.3/lib/hanami/action/exposable/guard.rb,
gems/gems/hanami-controller-1.3.3/lib/hanami/controller/error.rb,
gems/gems/hanami-controller-1.3.3/lib/hanami/controller/version.rb,
gems/gems/hanami-controller-1.3.3/lib/hanami/controller/configuration.rb,
gems/gems/hanami-controller-1.3.3/lib/hanami/controller.rb

Overview

A set of logically grouped actions

Examples:

require 'hanami/controller'

module Articles
  class Index
    include Hanami::Action

    # ...
  end

  class Show
    include Hanami::Action

    # ...
  end
end

See Also:

Since:

  • 0.1.0

Defined Under Namespace

Classes: Configuration, Error, IllegalExposureError

Constant Summary

VERSION =

Defines the version

Since:

  • 0.1.0

'1.3.2'.freeze