examples/config/initializers/api-client.rb in api-client-2.1.0 vs examples/config/initializers/api-client.rb in api-client-2.2.0

- old
+ new

@@ -1,7 +1,9 @@ # Global Configuration ApiClient.configure do |config| # Api path config.path = 'http://api.example.com' # Default header - config.header = { :token => '123329845729384759237592348712876817234'} + config.header = { 'param' => '123329845729384759237592348712876817234'} + # Basic Authentication + config.basic_auth('user', 'pass') end \ No newline at end of file