Class: Hackle::HackleUser
- Inherits:
-
Object
- Object
- Hackle::HackleUser
- Defined in:
- lib/hackle/internal/user/hackle_user.rb
Defined Under Namespace
Classes: Builder
Instance Attribute Summary collapse
- #identifiers ⇒ Hash{String => String} readonly
- #properties ⇒ Hash{String => Object} readonly
Class Method Summary collapse
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(identifiers:, properties:) ⇒ HackleUser
constructor
A new instance of HackleUser.
Constructor Details
#initialize(identifiers:, properties:) ⇒ HackleUser
Returns a new instance of HackleUser.
17 18 19 20 |
# File 'lib/hackle/internal/user/hackle_user.rb', line 17 def initialize(identifiers:, properties:) @identifiers = identifiers @properties = properties end |
Instance Attribute Details
#identifiers ⇒ Hash{String => String} (readonly)
10 11 12 |
# File 'lib/hackle/internal/user/hackle_user.rb', line 10 def identifiers @identifiers end |
#properties ⇒ Hash{String => Object} (readonly)
13 14 15 |
# File 'lib/hackle/internal/user/hackle_user.rb', line 13 def properties @properties end |
Class Method Details
Instance Method Details
#==(other) ⇒ Object
22 23 24 |
# File 'lib/hackle/internal/user/hackle_user.rb', line 22 def ==(other) other.is_a?(Hackle::HackleUser) && identifiers == other.identifiers && properties == other.properties end |