Class: Honeybadger::Api::User

Inherits:
Object
  • Object
show all
Defined in:
lib/honeybadger-api/user.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, email) ⇒ User

Public: Build a new instance of User

name - the name of the user email - the email address of the user

Returns a new User



13
14
15
16
# File 'lib/honeybadger-api/user.rb', line 13

def initialize(name, email)
  @name = name
  @email = email
end

Instance Attribute Details

#emailObject (readonly)

Returns the value of attribute email.



5
6
7
# File 'lib/honeybadger-api/user.rb', line 5

def email
  @email
end

#nameObject (readonly)

Returns the value of attribute name.



5
6
7
# File 'lib/honeybadger-api/user.rb', line 5

def name
  @name
end