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.
-
#ticket_ids ⇒ Array<Integer>
The IDs of the tickets that are assigned to 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.
80 |
# File 'lib/lws/apps/ticket.rb', line 80 attribute :name |
#slug ⇒ String (readonly)
Returns the slug of the ticket group.
84 |
# File 'lib/lws/apps/ticket.rb', line 84 attribute :slug |
#ticket_ids ⇒ Array<Integer>
Returns the IDs of the tickets that are assigned to the ticket group.
89 |
# File 'lib/lws/apps/ticket.rb', line 89 attribute :ticket_ids |
#tickets ⇒ Array<Ticket>
Returns the tickets that are assigned to the ticket group.
94 |
# File 'lib/lws/apps/ticket.rb', line 94 has_many :tickets |