lib/campaign_monitor/client.rb
# This is just a convenience method that calls both Client.UpdateBasics and Client.UpdateAccessAndBilling.
# It will return true if successful and false if not.
# Client#result will have the result of the API call
#
# Example
#   @client=@cm.clients.first
#   @client["CompanyName"]="Ben's Widgets"
#   @client.update
This is just a convenience method that calls both Client.UpdateBasics and Client.UpdateAccessAndBilling.
It will return true if successful and false if not.
Client#result will have the result of the API call


This is just a convenience method that calls both Client . UpdateBasics and Client . UpdateAccessAndBilling . It will return true if successful and false if not . Client#result will have the result of the API call
def update
      self.UpdateBasics
      self.UpdateAccessAndBilling if result.success?
      @result.success?
    end
def update self . UpdateBasics self . UpdateAccessAndBilling if result . success? @result . success? end
This is just a convenience method that calls both Client.UpdateBasics and Client.UpdateAccessAndBilling.
This is just a convenience method that calls both Client . UpdateBasics and Client . UpdateAccessAndBilling .