Sha256: f9bbec0633e24b4396ab2abbc5e8d913aa2e63c5f342a794f813aee109c542f0

Contents?: true

Size: 587 Bytes

Versions: 1

Compression:

Stored size: 587 Bytes

Contents

module Trell
  class Client
    module Cards
      def cards(board_id, options = {})
        get "boards/#{board_id}/cards", options
      end

      def create_card(options = {})
        post 'cards', options
      end

      def card(id, options = {})
        get "cards/#{id}", options
      end

      def card_actions(id, options = {})
        get "cards/#{id}/actions", options
      end

      def update_card(id, options = {})
        put "cards/#{id}", options
      end

      def delete_card(id, options = {})
        delete "cards/#{id}", options
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
trell-0.0.4 lib/trell/client/cards.rb