class Fastly::Director

def add_backend(backend)

Return true on success and false on failure

Add a Backend object to a Director
def add_backend(backend)
  hash = fetcher.client.post("#{Director.put_path(self)}/backend/#{backend.name}")
  !hash.nil?
end