Class: Eclix::Credentials

Inherits:
Object
  • Object
show all
Defined in:
lib/eclix/sync.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(user, password) ⇒ Credentials

Returns a new instance of Credentials.



6
7
8
9
# File 'lib/eclix/sync.rb', line 6

def initialize(user, password)
    @user = user
    @password = password
end

Instance Attribute Details

#passwordObject (readonly)

Returns the value of attribute password.



5
6
7
# File 'lib/eclix/sync.rb', line 5

def password
  @password
end

#userObject (readonly)

Returns the value of attribute user.



5
6
7
# File 'lib/eclix/sync.rb', line 5

def user
  @user
end