module Trell::Client::Cards
Public Instance Methods
card(id, options = {})
click to toggle source
# File lib/trell/client/cards.rb, line 12 def card(id, options = {}) get "cards/#{id}", options end
card_actions(id, options = {})
click to toggle source
# File lib/trell/client/cards.rb, line 16 def card_actions(id, options = {}) get "cards/#{id}/actions", options end
cards(board_id, options = {})
click to toggle source
# File lib/trell/client/cards.rb, line 4 def cards(board_id, options = {}) get "boards/#{board_id}/cards", options end
create_card(options = {})
click to toggle source
# File lib/trell/client/cards.rb, line 8 def create_card(options = {}) post 'cards', options end
delete_card(id, options = {})
click to toggle source
# File lib/trell/client/cards.rb, line 24 def delete_card(id, options = {}) delete "cards/#{id}", options end
update_card(id, options = {})
click to toggle source
# File lib/trell/client/cards.rb, line 20 def update_card(id, options = {}) put "cards/#{id}", options end