Class: LeanMicrosoftGraph::Resources::UsersResource::Users
- Inherits:
-
Object
- Object
- LeanMicrosoftGraph::Resources::UsersResource::Users
- Includes:
- Enumerable
- Defined in:
- lib/lean_microsoft_graph/resources/users_resource/users.rb
Instance Method Summary collapse
- #each(&block) ⇒ Object
-
#initialize(response) ⇒ Users
constructor
A new instance of Users.
- #next_batch_reference ⇒ Object
Constructor Details
#initialize(response) ⇒ Users
Returns a new instance of Users.
9 10 11 |
# File 'lib/lean_microsoft_graph/resources/users_resource/users.rb', line 9 def initialize(response) @response = response end |
Instance Method Details
#each(&block) ⇒ Object
13 14 15 |
# File 'lib/lean_microsoft_graph/resources/users_resource/users.rb', line 13 def each(&block) collection.each(&block) end |
#next_batch_reference ⇒ Object
17 |
# File 'lib/lean_microsoft_graph/resources/users_resource/users.rb', line 17 def next_batch_reference = @response[:'@odata.nextLink'] |