Sha256: eebaff84eeb6fa12945afa642513384aa9ed55cba75a508ff8061b7af1dba661
Contents?: true
Size: 329 Bytes
Versions: 1
Compression:
Stored size: 329 Bytes
Contents
module Betfair module API module RPC def self.extended(obj) obj.endpoint = "https://#{obj.endpoint}.betfair.com/exchange/betting/json-rpc/v1" obj.persistent_headers.merge!({ "Accept" => "application/json", "Content-Type" => "application/json" }) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
betfair-ng-0.2.1 | lib/betfair/api/rpc.rb |