Class: Auther::Presenter::Account

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ Account

Returns a new instance of Account.



12
13
14
15
16
# File 'app/presenters/auther/account.rb', line 12

def initialize options = {}
  @name = options[:name]
  @login = options[:login]
  @password = options[:password]
end

Instance Attribute Details

#loginObject

Returns the value of attribute login.



8
9
10
# File 'app/presenters/auther/account.rb', line 8

def 
  @login
end

#nameObject

Returns the value of attribute name.



8
9
10
# File 'app/presenters/auther/account.rb', line 8

def name
  @name
end

#passwordObject

Returns the value of attribute password.



8
9
10
# File 'app/presenters/auther/account.rb', line 8

def password
  @password
end