Class: Cassiopeia::TicketsControllerConfig

Inherits:
Object
  • Object
show all
Defined in:
lib/cassiopeia/tickets_controller_config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#rolesMethodObject

Returns the value of attribute rolesMethod.



4
5
6
# File 'lib/cassiopeia/tickets_controller_config.rb', line 4

def rolesMethod
  @rolesMethod
end

#ticketClassObject

Returns the value of attribute ticketClass.



3
4
5
# File 'lib/cassiopeia/tickets_controller_config.rb', line 3

def ticketClass
  @ticketClass
end