Class: Lilypad::Config::Request
- Inherits:
-
Object
- Object
- Lilypad::Config::Request
- Defined in:
- lib/lilypad/config/request.rb
Class Method Summary collapse
Class Method Details
.action(action = nil) ⇒ Object
6 7 8 9 |
# File 'lib/lilypad/config/request.rb', line 6 def action(action=nil) @action = action unless action.nil? @action end |
.component(component = nil) ⇒ Object
11 12 13 14 |
# File 'lib/lilypad/config/request.rb', line 11 def component(component=nil) @component = component unless component.nil? @component end |
.reset! ⇒ Object
16 17 18 19 |
# File 'lib/lilypad/config/request.rb', line 16 def reset! @action = nil @component = nil end |