Class: FineAnts::Runner
- Inherits:
-
Object
- Object
- FineAnts::Runner
- Defined in:
- lib/fine_ants/runner.rb
Instance Method Summary collapse
- #download ⇒ Object
-
#initialize(adapter, credentials) ⇒ Runner
constructor
A new instance of Runner.
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
#download ⇒ Object
8 9 10 11 |
# File 'lib/fine_ants/runner.rb', line 8 def download login! @adapter.download end |