Sha256: 21d3e0161c751a65169316f0cfbad6a82cb66ed2cd97ead92109b6723f981a67

Contents?: true

Size: 492 Bytes

Versions: 4

Compression:

Stored size: 492 Bytes

Contents

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

      def create_list(options = {})
        post 'lists', options
      end

      def list(id, options = {})
        get "lists/#{id}", options
      end

      def update_list(id, options = {})
        put "lists/#{id}", options
      end

      def delete_list(id, options = {})
        delete "lists/#{id}", options
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
trell-0.0.4 lib/trell/client/lists.rb
trell-0.0.3 lib/trell/client/lists.rb
trell-0.0.2 lib/trell/client/lists.rb
trell-0.0.1 lib/trell/client/lists.rb