lib/airtable/table.rb
# Replaces record in airtable based on id
Replaces record in airtable based on id
Replaces record in airtable based on id
def update(record)
      result = self.class.put(worksheet_url + "/" + record.id,
        :body => { "fields" => record.fields_for_update }.to_json,
        :headers => { "Content-type" => "application/json" }).parsed_response
      if result.present? && result["id"].present?
        record.override_attributes!(result_attributes(result))
        record
      else 
        false
      end
    end
def update ( record ) result = self . class . put ( worksheet_url + "/" + record . id , :body => { "fields" => record . fields_for_update } . to_json , :headers => { "Content-type" => "application/json" } ) . parsed_response if result . present? && result [ "id" ] . present? record . override_attributes! ( result_attributes ( result ) ) record else false end end
Replaces record in airtable based on id
Replaces record in airtable based on id
# failed
record
<not_specific>