Sha256: a0b92f098b4f65a150291c8e429997e5af2ee93dc0da6d972397101572e3c80e

Contents?: true

Size: 370 Bytes

Versions: 1

Compression:

Stored size: 370 Bytes

Contents

module Tannenbaum
  module Providers
    # Our exchange rate data providers are defined here as separate classes.
    class USD
      # The name of the [Provider].
      def self.provider
        "elDolarBlue"
      end
      
      # The URL of the [Provider].
      def self.url
        "http://www.eldolarblue.net/getDolarBlue.php?as=xml"
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tannenbaum-0.0.1 lib/tannenbaum/providers.rb