Class: Cassiopeia::TicketsControllerConfig
- Inherits:
-
Object
- Object
- Cassiopeia::TicketsControllerConfig
- Defined in:
- lib/cassiopeia/tickets_controller_config.rb
Instance Attribute Summary collapse
-
#rolesMethod ⇒ Object
Returns the value of attribute rolesMethod.
-
#ticketClass ⇒ Object
Returns the value of attribute ticketClass.
Instance Method Summary collapse
-
#initialize(opts = {}) ⇒ TicketsControllerConfig
constructor
A new instance of TicketsControllerConfig.
Constructor Details
#initialize(opts = {}) ⇒ TicketsControllerConfig
Returns a new instance of TicketsControllerConfig.
5 6 7 |
# File 'lib/cassiopeia/tickets_controller_config.rb', line 5 def initialize(opts={}) @ticketClass, @rolesMethod = opts[:ticketClass], opts[:rolesMethod] end |
Instance Attribute Details
#rolesMethod ⇒ Object
Returns the value of attribute rolesMethod.
4 5 6 |
# File 'lib/cassiopeia/tickets_controller_config.rb', line 4 def rolesMethod @rolesMethod end |
#ticketClass ⇒ Object
Returns the value of attribute ticketClass.
3 4 5 |
# File 'lib/cassiopeia/tickets_controller_config.rb', line 3 def ticketClass @ticketClass end |