Class: Logux::Auth
- Inherits:
-
Object
- Object
- Logux::Auth
- Defined in:
- lib/logux/auth.rb
Instance Attribute Summary collapse
-
#auth_id ⇒ Object
readonly
Returns the value of attribute auth_id.
-
#credentials ⇒ Object
readonly
Returns the value of attribute credentials.
-
#user_id ⇒ Object
readonly
Returns the value of attribute user_id.
Instance Method Summary collapse
-
#initialize(user_id:, credentials:, auth_id:) ⇒ Auth
constructor
A new instance of Auth.
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_id ⇒ Object (readonly)
Returns the value of attribute auth_id.
5 6 7 |
# File 'lib/logux/auth.rb', line 5 def auth_id @auth_id end |
#credentials ⇒ Object (readonly)
Returns the value of attribute credentials.
5 6 7 |
# File 'lib/logux/auth.rb', line 5 def credentials @credentials end |
#user_id ⇒ Object (readonly)
Returns the value of attribute user_id.
5 6 7 |
# File 'lib/logux/auth.rb', line 5 def user_id @user_id end |