module Fastly

Fastly API

Via the Fastly API you can perform any of the operations that are possible within the management console, including creating services, domains, and backends, configuring rules or uploading your own application code, as well as account operations such as user administration and billing reports. The API is organized into collections of endpoints that allow manipulation of objects related to Fastly services and accounts. For the most accurate and up-to-date API reference content, visit our [Developer Hub](www.fastly.com/documentation/reference/api/)

The version of the OpenAPI document: 1.0.0 Contact: oss@fastly.com

Fastly API

Via the Fastly API you can perform any of the operations that are possible within the management console, including creating services, domains, and backends, configuring rules or uploading your own application code, as well as account operations such as user administration and billing reports. The API is organized into collections of endpoints that allow manipulation of objects related to Fastly services and accounts. For the most accurate and up-to-date API reference content, visit our [Developer Hub](www.fastly.com/documentation/reference/api/)

The version of the OpenAPI document: 1.0.0 Contact: oss@fastly.com

Fastly API

Via the Fastly API you can perform any of the operations that are possible within the management console, including creating services, domains, and backends, configuring rules or uploading your own application code, as well as account operations such as user administration and billing reports. The API is organized into collections of endpoints that allow manipulation of objects related to Fastly services and accounts. For the most accurate and up-to-date API reference content, visit our [Developer Hub](www.fastly.com/documentation/reference/api/)

The version of the OpenAPI document: 1.0.0 Contact: oss@fastly.com

Constants

VERSION

Public Class Methods

configure() { |default| ... } click to toggle source

Customize default settings for the SDK using block.

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

If no block given, return the default Configuration object.

# File lib/fastly.rb, line 891
def configure
  if block_given?
    yield(Configuration.default)
  else
    Configuration.default
  end
end