lib/smsified/oneapi.rb in smsified-0.1.6 vs lib/smsified/oneapi.rb in smsified-0.1.7
- old
+ new
@@ -1,7 +1,7 @@
module Smsified
SMSIFIED_ONEAPI_PUBLIC_URI = 'https://api.smsified.com/v1'
- SMSIFIED_HTTP_HEADERS = { 'Content-Type' => 'application/x-www-form-urlencoded' }
+ SMSIFIED_HTTP_HEADERS = { 'Content-Type' => 'application/x-www-form-urlencoded','Accept'=>'application/json' }
class OneAPI
include Helpers
include HTTParty