class Fastly

def initialize(opts)

Some methods require full username and password rather than just auth token.

You only need to pass in C OR C and C.

api_key:: your Fastly api key
password:: your Fastly password
user:: your Fastly login

Create a new Fastly client. Options are
def initialize(opts)
  if opts[:api_key].nil? && (opts[:password].nil? || opts[:user].nil?)
    raise ArgumentError, "Required options missing. Please pass either ':api_key' or both ':user' and ':password'."
  end
  client(opts)
  self
end