Class: Revox::Resources::Users

Inherits:
Object
  • Object
show all
Defined in:
lib/revox/resources/users.rb,
lib/revox/resources/users/me.rb,
sig/revox/resources/users.rbs,
sig/revox/resources/users/me.rbs

Defined Under Namespace

Classes: Me

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(client:) ⇒ Users

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of Users.

Parameters:



12
13
14
15
# File 'lib/revox/resources/users.rb', line 12

def initialize(client:)
  @client = client
  @me = Revox::Resources::Users::Me.new(client: client)
end

Instance Attribute Details

#meRevox::Resources::Users::Me (readonly)



7
8
9
# File 'lib/revox/resources/users.rb', line 7

def me
  @me
end