lib/betfair/api/rpc.rb in betfair-ng-0.2.0 vs lib/betfair/api/rpc.rb in betfair-ng-0.2.1

- old
+ new

@@ -1,9 +1,9 @@ module Betfair module API module RPC def self.extended(obj) - obj.endpoint = "https://api.betfair.com/exchange/betting/json-rpc/v1" + obj.endpoint = "https://#{obj.endpoint}.betfair.com/exchange/betting/json-rpc/v1" obj.persistent_headers.merge!({ "Accept" => "application/json", "Content-Type" => "application/json" }) end \ No newline at end of file