Class: Tannenbaum::Providers::USD

Inherits:
Object
  • Object
show all
Defined in:
lib/tannenbaum/providers.rb

Overview

Our exchange rate data providers are defined here as separate classes.

Class Method Summary collapse

Class Method Details

.providerObject

The name of the [Provider].



6
7
8
# File 'lib/tannenbaum/providers.rb', line 6

def self.provider
  "elDolarBlue"
end

.urlObject

The URL of the [Provider].



11
12
13
# File 'lib/tannenbaum/providers.rb', line 11

def self.url
  "http://www.eldolarblue.net/getDolarBlue.php?as=xml"
end