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
-
#created_at ⇒ String
readonly
The timestamp of when the ticket group was created.
-
#id ⇒ Fixnum
readonly
The (unique) ID of the ticket group.
-
#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.
-
#updated_at ⇒ String
readonly
The timestamp of when the ticket group was last updated.
Instance Attribute Details
#created_at ⇒ String (readonly)
Returns the timestamp of when the ticket group was created.
111 |
# File 'lib/lws/apps/ticket.rb', line 111 attribute :created_at |
#id ⇒ Fixnum (readonly)
Returns the (unique) ID of the ticket group.
94 |
# File 'lib/lws/apps/ticket.rb', line 94 attribute :id |
#name ⇒ String
Returns the name of the ticket group.
98 |
# File 'lib/lws/apps/ticket.rb', line 98 attribute :name |
#slug ⇒ String (readonly)
Returns the slug of the ticket group.
102 |
# File 'lib/lws/apps/ticket.rb', line 102 attribute :slug |
#tickets ⇒ Array<Ticket>
Returns the tickets that are assigned to the ticket group.
107 |
# File 'lib/lws/apps/ticket.rb', line 107 has_many :tickets |
#updated_at ⇒ String (readonly)
Returns the timestamp of when the ticket group was last updated.
115 |
# File 'lib/lws/apps/ticket.rb', line 115 attribute :updated_at |