class Fastly::Client

def fully_authed?

Some methods require full username and password rather than just auth token
def fully_authed?
  !(user.nil? || password.nil?)
end