Class: Insights::API::Common::User
- Inherits:
-
Object
- Object
- Insights::API::Common::User
- Defined in:
- lib/insights/api/common/user.rb
Instance Method Summary collapse
-
#initialize(identity) ⇒ User
constructor
A new instance of User.
- #tenant ⇒ Object
Constructor Details
#initialize(identity) ⇒ User
Returns a new instance of User.
7 8 9 |
# File 'lib/insights/api/common/user.rb', line 7 def initialize(identity) @identity = identity end |
Instance Method Details
#tenant ⇒ Object
26 27 28 |
# File 'lib/insights/api/common/user.rb', line 26 def tenant find_tenant_key end |