Class: LWS::Ticket::Group

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

Overview

The ticket group 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

#nameString

Returns the name of the ticket group.

Returns:

  • (String)

    the name of the ticket group



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

attribute :name

#slugString (readonly)

Returns the slug of the ticket group.

Returns:

  • (String)

    the slug of the ticket group



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

attribute :slug

#ticketsArray<Ticket>

Returns the tickets that are assigned to the ticket group.

Returns:

  • (Array<Ticket>)

    the tickets that are assigned to the ticket group



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

has_many :tickets