Class: ActionSegue::Segue
- Inherits:
-
Object
- Object
- ActionSegue::Segue
- Defined in:
- lib/action_segue/segue.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#params ⇒ Object
Returns the value of attribute params.
Instance Method Summary collapse
-
#initialize(id:, params:) ⇒ Segue
constructor
A new instance of Segue.
Constructor Details
#initialize(id:, params:) ⇒ Segue
Returns a new instance of Segue.
5 6 7 8 |
# File 'lib/action_segue/segue.rb', line 5 def initialize(id:, params:) @id = id @params = params end |
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id.
3 4 5 |
# File 'lib/action_segue/segue.rb', line 3 def id @id end |
#params ⇒ Object
Returns the value of attribute params.
3 4 5 |
# File 'lib/action_segue/segue.rb', line 3 def params @params end |