Class: Money::Distributed::Fetcher::File
- Inherits:
-
Object
- Object
- Money::Distributed::Fetcher::File
- Includes:
- Base
- Defined in:
- lib/money/distributed/fetcher/file.rb
Overview
Fetcher that loads rates from a file
Instance Method Summary collapse
-
#initialize(file_path, bank = nil) ⇒ File
constructor
A new instance of File.
Methods included from Base
Constructor Details
#initialize(file_path, bank = nil) ⇒ File
Returns a new instance of File.
12 13 14 15 |
# File 'lib/money/distributed/fetcher/file.rb', line 12 def initialize(file_path, bank = nil) super(bank) @file_path = file_path end |