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



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

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



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

attribute :dev_issue_id

#nameString

Returns the name of the ticket tag.

Returns:

  • (String)

    the name of the ticket tag



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

attribute :name

#slugString (readonly)

Returns the slug of the ticket tag.

Returns:

  • (String)

    the slug of the ticket tag



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

attribute :slug

#ticketsArray<Ticket>

Returns the ticket associated with the tag.

Returns:

  • (Array<Ticket>)

    the ticket associated with the tag



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

has_many :tickets