Module: Mbanker

Defined in:
lib/mbanker.rb,
lib/mbanker/account.rb,
lib/mbanker/crawler.rb,
lib/mbanker/session.rb,
lib/mbanker/version.rb,
lib/mbanker/accounts_list.rb,
lib/mbanker/authenticator.rb,
lib/mbanker/persistent_crawler.rb

Defined Under Namespace

Classes: Account, AccountsList, Authenticator, Crawler, PersistentCrawler, Session

Constant Summary collapse

VERSION =
"0.1.0"

Class Method Summary collapse

Class Method Details

.create_session(username, password) ⇒ Object



9
10
11
12
13
# File 'lib/mbanker.rb', line 9

def self.create_session username, password
  crawler = Crawler.new
  authenticator = Authenticator.new crawler, username, password
  Session.new crawler, authenticator
end