Module: Sliver::Action
- Defined in:
- lib/sliver/action.rb
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.included(base) ⇒ Object
4 5 6 |
# File 'lib/sliver/action.rb', line 4 def self.included(base) base.extend Sliver::Action::ClassMethods end |
Instance Method Details
#initialize(environment, response) ⇒ Object
22 23 24 25 |
# File 'lib/sliver/action.rb', line 22 def initialize(environment, response) @environment = environment @response = response end |
#request ⇒ Object
27 28 29 |
# File 'lib/sliver/action.rb', line 27 def request @request ||= Rack::Request.new environment end |
#skip? ⇒ Boolean
31 32 33 |
# File 'lib/sliver/action.rb', line 31 def skip? false end |