Class: TicketCommitter

Inherits:
Struct
  • Object
show all
Defined in:
app/models/ticket_committer.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#emailObject

Returns the value of attribute email

Returns:

  • (Object)

    the current value of email



1
2
3
# File 'app/models/ticket_committer.rb', line 1

def email
  @email
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



1
2
3
# File 'app/models/ticket_committer.rb', line 1

def name
  @name
end

Instance Method Details

#tester?Boolean

Returns:

  • (Boolean)


3
4
5
# File 'app/models/ticket_committer.rb', line 3

def tester?
  false
end

#to_hObject



7
8
9
# File 'app/models/ticket_committer.rb', line 7

def to_h
  { name: name, email: email }
end