Class: LWS::Ticket::Tag
- Inherits:
-
Generic::Model
- Object
- Spyke::Base
- Generic::Model
- LWS::Ticket::Tag
- Defined in:
- lib/lws/apps/ticket.rb
Overview
The ticket tag class
Instance Attribute Summary collapse
-
#description ⇒ String?
The description of the ticket tag.
-
#dev_issue_id ⇒ Integer?
The ID of the issue in LeftClick’s internal bug tracking system.
-
#name ⇒ String
The name of the ticket tag.
-
#slug ⇒ String
readonly
The slug of the ticket tag.
-
#ticket_ids ⇒ Array<Ticket>
The IDs of the ticket associated with the tag.
-
#tickets ⇒ Array<Ticket>
The ticket associated with the tag.
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
#description ⇒ String?
Returns the description of the ticket tag.
161 |
# File 'lib/lws/apps/ticket.rb', line 161 attribute :description |
#dev_issue_id ⇒ Integer?
Returns the ID of the issue in LeftClick’s internal bug tracking system.
166 |
# File 'lib/lws/apps/ticket.rb', line 166 attribute :dev_issue_id |
#name ⇒ String
Returns the name of the ticket tag.
170 |
# File 'lib/lws/apps/ticket.rb', line 170 attribute :name |
#slug ⇒ String (readonly)
Returns the slug of the ticket tag.
174 |
# File 'lib/lws/apps/ticket.rb', line 174 attribute :slug |
#ticket_ids ⇒ Array<Ticket>
Returns the IDs of the ticket associated with the tag.
178 |
# File 'lib/lws/apps/ticket.rb', line 178 attribute :ticket_ids |
#tickets ⇒ Array<Ticket>
Returns the ticket associated with the tag.
182 |
# File 'lib/lws/apps/ticket.rb', line 182 has_many :tickets |