Class: LeanMicrosoftGraph::Resources::UsersResource::Users

Inherits:
Object
  • Object
show all
Includes:
Enumerable
Defined in:
lib/lean_microsoft_graph/resources/users_resource/users.rb

Instance Method Summary collapse

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_referenceObject



17
# File 'lib/lean_microsoft_graph/resources/users_resource/users.rb', line 17

def next_batch_reference = @response[:'@odata.nextLink']