Sha256: e0899a4b08f18c8bac9ee0e97a3772dda9618208c000ac366d674d1a480f2a2d

Contents?: true

Size: 266 Bytes

Versions: 9

Compression:

Stored size: 266 Bytes

Contents

# Global Configuration
ApiClient.configure do |config|
  # Api path
  config.path = 'http://api.example.com'
  # Default header
  config.header = { 'param' => '123329845729384759237592348712876817234'}
  # Basic Authentication
  config.basic_auth('user', 'pass')
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
api-client-3.1.0 examples/config/initializers/api-client.rb
api-client-3.0.0 examples/config/initializers/api-client.rb
api-client-2.7.0 examples/config/initializers/api-client.rb
api-client-2.6.0 examples/config/initializers/api-client.rb
api-client-2.5.0 examples/config/initializers/api-client.rb
api-client-2.5.0.rc1 examples/config/initializers/api-client.rb
api-client-2.4.0 examples/config/initializers/api-client.rb
api-client-2.3.0 examples/config/initializers/api-client.rb
api-client-2.2.0 examples/config/initializers/api-client.rb