lib/tops_connect/client.rb in tops_connect-0.1.2 vs lib/tops_connect/client.rb in tops_connect-0.1.3
- old
+ new
@@ -20,9 +20,11 @@
'authorization' => "Basic #{authorization}",
'community-api-key' => TopsConnect.configuration.community_api_key
)
@subscription_key = TopsConnect.configuration.subscription_key
+
+ TopsConnect::Base.client = self
end
def get(endpoint, parameters = {})
response = self.class.get(
"/#{TopsConnect.configuration.zone}/api#{endpoint}",