Module: Betfair::API::RPC
- Defined in:
- lib/betfair/api/rpc.rb
Class Method Summary collapse
Class Method Details
.extended(obj) ⇒ Object
4 5 6 7 8 9 10 |
# File 'lib/betfair/api/rpc.rb', line 4 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 |