Class: Bitcoinica::Connection

Inherits:
ActiveResource::Base
  • Object
show all
Defined in:
lib/bitcoinica/connection.rb

Direct Known Subclasses

Account, Candlesticks, Order, Position, Quote

Class Method Summary collapse

Class Method Details

.authenticate!(username, password) ⇒ Object



9
10
11
12
# File 'lib/bitcoinica/connection.rb', line 9

def authenticate!(username, password)
  self.user     = username
  self.password = password
end