lib/trello_wrapper.rb in trollolo-0.0.8 vs lib/trello_wrapper.rb in trollolo-0.0.9

- old
+ new

@@ -74,11 +74,19 @@ def get_description(card_id) card = Trello::Card.find(card_id) card.desc end + def get_member_boards(member_id) + JSON.parse(client.get("/members/#{member_id}/boards")) + end + def set_description(card_id, description) client.put("/cards/#{card_id}/desc?value=#{description}") + end + + def set_name(card_id, name) + client.put("/cards/#{card_id}/name?value=#{name}") end private def init_trello