Module: BetfairApiNgRails::Api::Constants
- Included in:
- BetfairApiNgRails::Api::ConnectionExt::Caching, BetfairApiNgRails::Api::ConnectionExt::ErrorHandling, BetfairApiNgRails::Api::ConnectionExt::Formatting, BetfairApiNgRails::Api::ConnectionExt::Logging, BetfairApiNgRails::Api::ConnectionExt::SsoidRefreshing, Http::Factory, Http::Helpers::KeepAliveResponse, Http::Helpers::SessionResponse, Http::Responser, Provider, RequestMethod, RequestMethods::All, RequestMethods::Betting, SessionManager
- Defined in:
- lib/betfair_api_ng_rails/api/constants.rb
Constant Summary collapse
- SUCCESS_LOGIN =
"SUCCESS"
- SESSION_REQUEST_HEADERS =
{ "Content-Type" => "application/x-www-form-urlencoded" }
- API_REQUEST_HEADERS =
{ "Content-Type" => "application/json", "Accept" => "application/json" }
- ALLOWED_RESOURCES =
{ betting:[ "listEventTypes", "listCompetitions", "listTimeRanges", "listEvents", "listMarketTypes", "listCountries", "listVenues", "listMarketCatalogue", "listMarketBook", "listCurrentOrders", "listClearedOrders", "listMarketProfitAndLoss", "placeOrders" ], account:[ "getAccountDetails", "getAccountFunds", "getAccountStatement" ] }
- ALLOWED_FORMATTING =
[ "listEventTypes", "listCompetitions", "listEvents" ]
- SIMPLE_LISTING_FILTERED =
[ "listEventTypes", "listCompetitions", "listTimeRanges", "listEvents", "listMarketTypes", "listCountries", "listVenues" ]
- LOADABLE_CONFIG_OPTIONS =
[ :application_key, :username, :password, :go_localuser, :go_filename ]
- JSON_METHOD =
{ betting: 'SportsAPING', account: 'AccountAPING' }
- KEEP_ALIVE_URL =
URLs
"https://identitysso.betfair.com/api/keepAlive"