Class: TicketCommitter
- Inherits:
-
Struct
- Object
- Struct
- TicketCommitter
- Defined in:
- app/models/ticket_committer.rb
Instance Attribute Summary collapse
-
#email ⇒ Object
Returns the value of attribute email.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
Instance Attribute Details
#email ⇒ Object
Returns the value of attribute email
1 2 3 |
# File 'app/models/ticket_committer.rb', line 1 def email @email end |
#name ⇒ Object
Returns the value of attribute name
1 2 3 |
# File 'app/models/ticket_committer.rb', line 1 def name @name end |
Instance Method Details
#tester? ⇒ Boolean
3 4 5 |
# File 'app/models/ticket_committer.rb', line 3 def tester? false end |
#to_h ⇒ Object
7 8 9 |
# File 'app/models/ticket_committer.rb', line 7 def to_h { name: name, email: email } end |