Sha256: 7f22018e4981445981c9d7ef74a7f737d6edcd62927f78be0dc604126b72a7f2

Contents?: true

Size: 230 Bytes

Versions: 2

Compression:

Stored size: 230 Bytes

Contents

require 'regaliator/endpoint'

module Regaliator
  module V15
    class Rate < Endpoint
      def list
        request('/rates').post
      end

      def history
        request('/rates/history').post
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
regaliator-4.0.1 lib/regaliator/v15/rate.rb
regaliator-4.0.0 lib/regaliator/v15/rate.rb