Class: Money::Distributed::Fetcher::File

Inherits:
Object
  • Object
show all
Includes:
Base
Defined in:
lib/money/distributed/fetcher/file.rb

Overview

Fetcher that loads rates from a file

Instance Method Summary collapse

Methods included from Base

#fetch

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