lib/fastly/fetcher.rb in fastly-0.98 vs lib/fastly/fetcher.rb in fastly-0.99

- old
+ new

@@ -5,16 +5,16 @@ class FullAuthRequired < Fastly::AuthRequired; end # :nodoc: class Error < RuntimeError; end # :nodoc: class Unauthorized < AuthRequired; end + # :nodoc: + class AdminRequired < AuthRequired; end module Fetcher # :nodoc: all # Get the current Fastly::Client def client(opts={}) - opts[:base_url] ||= 'api.fastly.com' - opts[:base_port] ||= 80 @client ||= Fastly::Client.new(opts) end def list(klass, opts={}) list = client.get(klass.list_path, opts) \ No newline at end of file