Class: Garbanzo::Connection

Inherits:
Object
  • Object
show all
Defined in:
lib/garbanzo/connection.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(login = nil, password = nil, test_mode = false) ⇒ Connection

Returns a new instance of Connection.



5
6
7
8
9
# File 'lib/garbanzo/connection.rb', line 5

def initialize( = nil, password = nil, test_mode = false)
  @login = 
  @password = password
  @test_mode = test_mode
end

Instance Attribute Details

#loginObject

Returns the value of attribute login.



3
4
5
# File 'lib/garbanzo/connection.rb', line 3

def 
  @login
end

#passwordObject

Returns the value of attribute password.



3
4
5
# File 'lib/garbanzo/connection.rb', line 3

def password
  @password
end

#test_modeObject

Returns the value of attribute test_mode.



3
4
5
# File 'lib/garbanzo/connection.rb', line 3

def test_mode
  @test_mode
end