Class: FineAnts::Runner

Inherits:
Object
  • Object
show all
Defined in:
lib/fine_ants/runner.rb

Instance Method Summary collapse

Constructor Details

#initialize(adapter, credentials) ⇒ Runner

Returns a new instance of Runner.



3
4
5
6
# File 'lib/fine_ants/runner.rb', line 3

def initialize(adapter, credentials)
  @adapter = adapter
  @credentials = credentials
end

Instance Method Details

#downloadObject



8
9
10
11
# File 'lib/fine_ants/runner.rb', line 8

def download
  login!
  @adapter.download
end