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

Instance Attribute Details

#created_atString (readonly)

Returns the timestamp of when the ticket tag was created.

Returns:

  • (String)

    the timestamp of when the ticket tag was created



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

attribute :created_at

#descriptionString?

Returns the description of the ticket tag.

Returns:

  • (String, nil)

    the description of the ticket tag



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

attribute :description

#dev_issue_idFixnum?

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

Returns:

  • (Fixnum, nil)

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



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

attribute :dev_issue_id

#idFixnum (readonly)

Returns the (unique) ID of the ticket tag.

Returns:

  • (Fixnum)

    the (unique) ID of the ticket tag



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

attribute :id

#nameString

Returns the name of the ticket tag.

Returns:

  • (String)

    the name of the ticket tag



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

attribute :name

#slugString (readonly)

Returns the slug of the ticket tag.

Returns:

  • (String)

    the slug of the ticket tag



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

attribute :slug

#ticketsArray<Ticket>

Returns the ticket associated with the tag.

Returns:

  • (Array<Ticket>)

    the ticket associated with the tag



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

has_many :tickets

#updated_atString (readonly)

Returns the timestamp of when the ticket tag was last updated.

Returns:

  • (String)

    the timestamp of when the ticket tag was last updated



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

attribute :updated_at