Sha256: 9baec5c4f3ea2cab40cc6c6746f5dc2c73668e9f460d29641c7bca6ca6fb8c28
Contents?: true
Size: 613 Bytes
Versions: 4
Compression:
Stored size: 613 Bytes
Contents
module XEClient class HistoricRatePeriodRequest < BaseRequest attribute :from, String attribute :to, Array[String] attribute :start_timestamp, DateTime attribute :end_timestamp, DateTime attribute :interval, String attribute :per_page, Integer attribute :page, Integer def path "/v1/historic_rate/period.json" end def params { from: from, to: to.join(","), start_timestamp: start_timestamp, end_timestamp: end_timestamp, interval: interval, per_page: per_page, page: page, } end end end
Version data entries
4 entries across 4 versions & 1 rubygems