Class: Auther::Account
- Inherits:
-
Struct
- Object
- Struct
- Auther::Account
- Includes:
- ActiveModel::Validations
- Defined in:
- app/models/auther/account.rb
Overview
Represents an authenticatable account.
Instance Attribute Summary collapse
-
#authorized_url ⇒ Object
Returns the value of attribute authorized_url.
-
#deauthorized_url ⇒ Object
Returns the value of attribute deauthorized_url.
-
#encrypted_login ⇒ Object
Returns the value of attribute encrypted_login.
-
#encrypted_password ⇒ Object
Returns the value of attribute encrypted_password.
-
#name ⇒ Object
Returns the value of attribute name.
-
#paths ⇒ Object
Returns the value of attribute paths.
Instance Method Summary collapse
-
#initialize(*arguments) ⇒ Account
constructor
A new instance of Account.
Constructor Details
#initialize(*arguments) ⇒ Account
Returns a new instance of Account.
21 22 23 24 |
# File 'app/models/auther/account.rb', line 21 def initialize *arguments super self[:paths] ||= [] end |
Instance Attribute Details
#authorized_url ⇒ Object
Returns the value of attribute authorized_url
7 8 9 |
# File 'app/models/auther/account.rb', line 7 def @authorized_url end |
#deauthorized_url ⇒ Object
Returns the value of attribute deauthorized_url
7 8 9 |
# File 'app/models/auther/account.rb', line 7 def @deauthorized_url end |
#encrypted_login ⇒ Object
Returns the value of attribute encrypted_login
7 8 9 |
# File 'app/models/auther/account.rb', line 7 def encrypted_login @encrypted_login end |
#encrypted_password ⇒ Object
Returns the value of attribute encrypted_password
7 8 9 |
# File 'app/models/auther/account.rb', line 7 def encrypted_password @encrypted_password end |
#name ⇒ Object
Returns the value of attribute name
7 8 9 |
# File 'app/models/auther/account.rb', line 7 def name @name end |
#paths ⇒ Object
Returns the value of attribute paths
7 8 9 |
# File 'app/models/auther/account.rb', line 7 def paths @paths end |