Class: Honeybadger::Api::User
- Inherits:
-
Object
- Object
- Honeybadger::Api::User
- Defined in:
- lib/honeybadger-api/user.rb
Instance Attribute Summary collapse
-
#email ⇒ Object
readonly
Returns the value of attribute email.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name, email) ⇒ User
constructor
Public: Build a new instance of User .
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
#email ⇒ Object (readonly)
Returns the value of attribute email.
5 6 7 |
# File 'lib/honeybadger-api/user.rb', line 5 def email @email end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
5 6 7 |
# File 'lib/honeybadger-api/user.rb', line 5 def name @name end |