Class: LWS::Ticket::Tag

Inherits:
Generic::Model show all
Defined in:
lib/lws/apps/ticket.rb

Overview

The ticket tag class

Instance Attribute Summary collapse

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

#descriptionString?

Returns the description of the ticket tag.

Returns:

  • (String, nil)

    the description of the ticket tag



161
# File 'lib/lws/apps/ticket.rb', line 161

attribute :description

#dev_issue_idInteger?

Returns the ID of the issue in LeftClick’s internal bug tracking system.

Returns:

  • (Integer, nil)

    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

#nameString

Returns the name of the ticket tag.

Returns:

  • (String)

    the name of the ticket tag



170
# File 'lib/lws/apps/ticket.rb', line 170

attribute :name

#slugString (readonly)

Returns the slug of the ticket tag.

Returns:

  • (String)

    the slug of the ticket tag



174
# File 'lib/lws/apps/ticket.rb', line 174

attribute :slug

#ticket_idsArray<Ticket>

Returns the IDs of the ticket associated with the tag.

Returns:

  • (Array<Ticket>)

    the IDs of the ticket associated with the tag



178
# File 'lib/lws/apps/ticket.rb', line 178

attribute :ticket_ids

#ticketsArray<Ticket>

Returns the ticket associated with the tag.

Returns:

  • (Array<Ticket>)

    the ticket associated with the tag



182
# File 'lib/lws/apps/ticket.rb', line 182

has_many :tickets