Updates the properties of an engagement
 {http://developers.hubspot.com/docs/methods/engagements/update_engagement}
 @param params [Hash] hash of properties to update
 @return [Hubspot::Engagement] self
190818
def update!(params)
      data = {
        engagement: params[:engagement]     || engagement,
        associations: params[:associations] || associations,
        attachments: params[:attachments]   || attachments,
        metadata: params[:metadata]         || metadata
      }

      Hubspot::Connection.put_json(ENGAGEMENT_PATH, params: { engagement_id: id }, body: data)
      self
    end
983466
def update_params_for_auth!(header_params, query_params, auth_names)
      Array(auth_names).each do |auth_name|
        auth_setting = @config.auth_settings[auth_name]
        next unless auth_setting
        case auth_setting[:in]
        when 'header' then header_params[auth_setting[:key]] = auth_setting[:value]
        when 'query'  then query_params[auth_setting[:key]] = auth_setting[:value]
        else fail ArgumentError, 'Authentication token must be in `query` of `header`'
        end
      end
    end
672243
def update(name, params)
      @config.transaction do
        integration = find_integration!(name)
        check_available_except!(params[:name], params[:endpoint], integration)
        update_channels!(integration, params)
        NetworkManager.new(@config).check_channels!(integration)
        integration.update!(params)
        integration_feedback(integration, :updated) unless params[:quiet]
      end
    end
1117150
def update!(opts={})
      response = Hubspot::Connection.post_json(LIST_PATH, params: { list_id: @id }, body: opts)
      self.send(:assign_properties, response)
      self
    end
982947
def put(url, params)
      params = convert_hash_keys(params)
      preform(url, :put, params: params) do
        return connection.put(url, params)
      end
    end
271168
function(params) {
        if (process.env.NODE_ENV !== 'production') {
            if (this._disposed) {
                log('error', [
                    'Update on disposed baron instance detected.',
                    'You should clear your stored baron value for this instance:',
                    this
                ].join(' '), params)
            }
        }

        fire.call(this, 'upd', params) // Update all plugins' params

        this.resize(1)
        this.updatePositions(1)

        return this
    }
1091924
def request_params
      params_hash.tap do |params|
        params[:sign] = Signature.new(params, credentials.secret).sign
      end
    end
467627
def update
      params[:confirmation_token] ||= params[:user][:confirmation_token]
      @confirmation_token = params[:user][:confirmation_token]
      with_unconfirmed_confirmable do
        if @confirmable.has_no_password?
          @confirmable.attempt_set_password(params[:user])
          if @confirmable.valid?
            do_confirm
          else
            do_show
            @confirmable.errors.clear #so that we wont render :new
          end
        else
          self.class.add_error_on(self, :email, :password_allready_set)
        end
      end
      if !@confirmable.errors.empty?
        do_show #Change this if you don't have the views on default path
      end
    end
465715
def update(name, params)
      @config.transaction do
        network = find_network!(name)
        unless params[:name].nil?
          check_name_available_except!(params[:name], network)
        end
        network.update!(params)
        network_feedback(network, :updated) unless params[:quiet]
      end
    end
351111
def update
      post_params[:user_id] = @post.user_id
      respond_to do |format|
        if @post.update(post_params)
          format.json { render json: @post, status: 200 }
        else
          format.json { render json: @post.errors, status: :unprocessable_entity }
        end
      end
    end
1085640
def add_properties(hash)
      hash.each do |identity, property|
        @properties[flexible identity] ||= property.class.new
        @properties[flexible identity].concat property
      end
      update_human_readable_methods
    end
1096203
function (params) {
  const oThis = this
  ;

  params = params || {};
  oThis.transactionHash = params.transaction_hash;
  oThis.chain = 'value';
}
789197
def update(self, **kwargs):
        
        data = self._generate_input_dict(**kwargs)
        url = self.parent.url + '/relationship'
        self.load(self.client.put(url, data=data))
        return self
718439
def rebind(self, **params):
        
        new_params = self.__params.copy()
        new_params.update(params)
        return self.__class__(new_params, self.__action)
892536
function replace_params(params) {
	return function replace_params_(match, key) {
		if(params && params.hasOwnProperty(key)) {
			var value = params[key];
			delete params[key];
			return value;
		}
		return ':' + key;
	};
}
627212
def update(tag_value, devices_add: nil, devices_remove: nil)
      rids = {}
      rids[:add] = [devices_add].flatten unless devices_add.nil?
      rids[:remove] = [devices_remove].flatten unless devices_remove.nil?

      body = { registration_ids: rids }
      url = base_url + tag_value
      Http::Client.post(@jpush, url, body: body)
    end
904987
def default_params(h = {})
      raise ArgumentError, 'Default params must be an object which responds to #to_hash' unless h.respond_to?(:to_hash)
      default_options[:default_params] ||= {}
      default_options[:default_params].merge!(h)
    end