Sha256: 12d1db6ff31e985c0df94164f138b00a9e3be1630a6ea2b543e1a2f5f78cb595

Contents?: true

Size: 166 Bytes

Versions: 2

Compression:

Stored size: 166 Bytes

Contents

module Convertator
  module Providers
    class StaticProvider < Middleware
      attr_writer :rates

      def call
        @rates || {}
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
convertator-0.3.1 lib/convertator/providers/static_provider.rb
convertator-0.3.0 lib/convertator/providers/static_provider.rb