lib/myjohndeere.rb in myjohndeere-0.1.10 vs lib/myjohndeere.rb in myjohndeere-0.1.11
- old
+ new
@@ -59,10 +59,10 @@
end
JSON_CONTENT_HEADER_VALUE = 'application/vnd.deere.axiom.v3+json'
ENDPOINTS = {
sandbox: "https://sandboxapi.deere.com/platform",
- production: "https://partnerapi.deere.com/platform"
+ production: "https://api.soa-proxy.deere.com/platform"
}.freeze
AUTHORIZE_URL = "https://my.deere.com/consentToUseOfData"
DEFAULT_REQUEST_HEADER = { 'accept'=> JSON_CONTENT_HEADER_VALUE }.freeze
DEFAULT_POST_HEADER = {
'accept'=> JSON_CONTENT_HEADER_VALUE,
\ No newline at end of file