lib/resellers_api.rb in ruby-transmitsms-0.1.0 vs lib/resellers_api.rb in ruby-transmitsms-0.1.1

- old
+ new

@@ -1,9 +1,9 @@ require "uri" class ResellersApi - basePath = "http://api.burst.dev.local/" + basePath = "https://api.transmitsms.com/" # apiInvoker = APIInvoker def initialize(api_key, api_secret) @api_key = api_key @api_secret = api_secret @@ -19,10 +19,10 @@ "Basic #{api_key_secret}" end def config_swagger() Swagger.configure do |config| - config.host = "http://api.burst.dev.local/".gsub("http://", "").gsub("/", "") + config.host = "https://api.transmitsms.com/".gsub("https://", "").gsub("/", "") config.base_path = "/" config.format = "x-www-form-urlencoded" config.camelize_params = false end end