lib/cfoundry/v1/base.rb in cfoundry-0.3.35 vs lib/cfoundry/v1/base.rb in cfoundry-0.3.36

- old
+ new

@@ -5,22 +5,15 @@ require "cfoundry/errors" module CFoundry::V1 class Base < CFoundry::BaseClient - attr_accessor :target, :token, :proxy, :trace + attr_accessor :target, :token, :proxy, :trace, :backtrace, :log def initialize( target = "https://api.cloudfoundry.com", token = nil) - @target = target - @token = token - end - - - # invalidate token data when changing token - def token=(t) - @token = t + super end # The UAA used for this client. #