Module: Vantage

Defined in:
lib/vantage-client/version.rb,
lib/vantage-client.rb,
lib/vantage-client/api_error.rb,
lib/vantage-client/api_client.rb,
lib/vantage-client/models/cost.rb,
lib/vantage-client/api/ping_api.rb,
lib/vantage-client/models/costs.rb,
lib/vantage-client/models/price.rb,
lib/vantage-client/api/costs_api.rb,
lib/vantage-client/configuration.rb,
lib/vantage-client/models/prices.rb,
lib/vantage-client/models/report.rb,
lib/vantage-client/api/prices_api.rb,
lib/vantage-client/models/product.rb,
lib/vantage-client/models/reports.rb,
lib/vantage-client/models/service.rb,
lib/vantage-client/models/products.rb,
lib/vantage-client/models/provider.rb,
lib/vantage-client/models/services.rb,
lib/vantage-client/models/providers.rb

Overview

#Vantage

#Vantage API

OpenAPI spec version: 1.0.0 Contact: [email protected] Generated by: github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.4.21

Defined Under Namespace

Classes: ApiClient, ApiError, Configuration, Cost, Costs, CostsApi, PingApi, Price, Prices, PricesApi, Product, Products, Provider, Providers, Report, Reports, Service, Services

Constant Summary collapse

VERSION =
'0.1.0'

Class Method Summary collapse

Class Method Details

.configureObject

Customize default settings for the SDK using block.

Vantage.configure do |config|
  config.username = "xxx"
  config.password = "xxx"
end

If no block given, return the default Configuration object.



46
47
48
49
50
51
52
# File 'lib/vantage-client.rb', line 46

def configure
  if block_given?
    yield(Configuration.default)
  else
    Configuration.default
  end
end