Class: Auther::Account

Inherits:
Struct
  • Object
show all
Includes:
ActiveModel::Validations
Defined in:
app/models/auther/account.rb

Overview

Represents an authenticatable account.

Instance Attribute Summary collapse

Instance Method Summary collapse

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_urlObject

Returns the value of attribute authorized_url

Returns:

  • (Object)

    the current value of authorized_url



7
8
9
# File 'app/models/auther/account.rb', line 7

def authorized_url
  @authorized_url
end

#deauthorized_urlObject

Returns the value of attribute deauthorized_url

Returns:

  • (Object)

    the current value of deauthorized_url



7
8
9
# File 'app/models/auther/account.rb', line 7

def deauthorized_url
  @deauthorized_url
end

#encrypted_loginObject

Returns the value of attribute encrypted_login

Returns:

  • (Object)

    the current value of encrypted_login



7
8
9
# File 'app/models/auther/account.rb', line 7

def 
  @encrypted_login
end

#encrypted_passwordObject

Returns the value of attribute encrypted_password

Returns:

  • (Object)

    the current value of encrypted_password



7
8
9
# File 'app/models/auther/account.rb', line 7

def encrypted_password
  @encrypted_password
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



7
8
9
# File 'app/models/auther/account.rb', line 7

def name
  @name
end

#pathsObject

Returns the value of attribute paths

Returns:

  • (Object)

    the current value of paths



7
8
9
# File 'app/models/auther/account.rb', line 7

def paths
  @paths
end