Class: Logux::Auth

Inherits:
Object
  • Object
show all
Defined in:
lib/logux/auth.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(user_id:, credentials:, auth_id:) ⇒ Auth

Returns a new instance of Auth.



7
8
9
10
11
# File 'lib/logux/auth.rb', line 7

def initialize(user_id:, credentials:, auth_id:)
  @user_id = user_id
  @credentials = credentials
  @auth_id = auth_id
end

Instance Attribute Details

#auth_idObject (readonly)

Returns the value of attribute auth_id.



5
6
7
# File 'lib/logux/auth.rb', line 5

def auth_id
  @auth_id
end

#credentialsObject (readonly)

Returns the value of attribute credentials.



5
6
7
# File 'lib/logux/auth.rb', line 5

def credentials
  @credentials
end

#user_idObject (readonly)

Returns the value of attribute user_id.



5
6
7
# File 'lib/logux/auth.rb', line 5

def user_id
  @user_id
end