Class: LWS::Ticket::Group
- Inherits:
-
Generic::Model
- Object
- Spyke::Base
- Generic::Model
- LWS::Ticket::Group
- Defined in:
- lib/lws/apps/ticket.rb
Overview
The ticket group class
Instance Attribute Summary collapse
-
#name ⇒ String
The name of the ticket group.
-
#slug ⇒ String
readonly
The slug of the ticket group.
-
#tickets ⇒ Array<Ticket>
The tickets that are assigned to the ticket group.
Attributes inherited from Generic::Model
#created_at, #id, #updated_at, #url, #url_html
Method Summary
Methods inherited from Generic::Model
#deep_dup, #dig, #reload, #rollback, #save
Instance Attribute Details
#name ⇒ String
Returns the name of the ticket group.
79 |
# File 'lib/lws/apps/ticket.rb', line 79 attribute :name |
#slug ⇒ String (readonly)
Returns the slug of the ticket group.
83 |
# File 'lib/lws/apps/ticket.rb', line 83 attribute :slug |
#tickets ⇒ Array<Ticket>
Returns the tickets that are assigned to the ticket group.
88 |
# File 'lib/lws/apps/ticket.rb', line 88 has_many :tickets |