Class: LeanTesting::UserHandler
- Inherits:
-
EntityHandler
- Object
- EntityHandler
- LeanTesting::UserHandler
- Defined in:
- lib/Handler/User/UserHandler.rb
Instance Attribute Summary collapse
-
#organizations ⇒ Object
readonly
Returns the value of attribute organizations.
Instance Method Summary collapse
- #getInformation ⇒ Object
-
#initialize(origin) ⇒ UserHandler
constructor
A new instance of UserHandler.
Methods inherited from EntityHandler
#all, #create, #delete, #find, #update
Constructor Details
#initialize(origin) ⇒ UserHandler
Returns a new instance of UserHandler.
5 6 7 8 9 |
# File 'lib/Handler/User/UserHandler.rb', line 5 def initialize(origin) super @organizations = UserOrganizationsHandler.new(origin) end |
Instance Attribute Details
#organizations ⇒ Object (readonly)
Returns the value of attribute organizations.
3 4 5 |
# File 'lib/Handler/User/UserHandler.rb', line 3 def organizations @organizations end |
Instance Method Details
#getInformation ⇒ Object
11 12 13 |
# File 'lib/Handler/User/UserHandler.rb', line 11 def getInformation return (APIRequest.new(@origin, '/v1/me', 'GET')).exec end |