def save
      # If we have an id, just update our fields.
      return update! if id

      from_response client.post("/cards", {
        name:   name,
        desc:   desc,
        idList: list_id,
        idMembers: member_ids,
        idLabels: card_labels,
        pos: pos,
        due: due,
        dueComplete: due_complete,
        idCardSource: source_card_id,
        keepFromSource: source_card_properties
      })
    end
def save
      # If we have an id, just update our fields.
      return update! if id

      from_response client.post("/cards", {
        name:   name,
        desc:   desc,
        idList: list_id,
        idMembers: member_ids,
        idLabels: card_labels,
        pos: pos,
        due: due,
        dueComplete: due_complete,
        idCardSource: source_card_id,
        keepFromSource: source_card_properties
      })
    end
Saves a record.

 @raise [Trello::Error] if the card could not be saved

 @return [String] The JSON representation of the saved card returned by
     the Trello API.