examples/config/initializers/api-client.rb in api-client-2.0.2 vs examples/config/initializers/api-client.rb in api-client-2.0.3
- old
+ new
@@ -1,5 +1,7 @@
# Global Configuration
-# Api path
ApiClient.configure do |config|
+ # Api path
config.path = 'http://api.example.com'
+ # Default header
+ config.header = { :token => '123329845729384759237592348712876817234'}
end
\ No newline at end of file