Sha256: 7ec5538ae477a7fcb002efe6fbb5f1f2a76ff0a374656fd2894e94559062618c

Contents?: true

Size: 346 Bytes

Versions: 11

Compression:

Stored size: 346 Bytes

Contents

module TrelloCli
  module Requests
    class ListLists

      include Shared

      def initialize
        connect_to_trello
      end

      def list(args)
        board_id = args[:board_id]
        board(board_id).lists
      end

      private

      def board(board_id)
        Trello::Board.new 'id' => board_id
      end

    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
trello_cli-0.5.0 lib/trello_cli/requests/list_lists.rb
trello_cli-0.4.1 lib/trello_cli/requests/list_lists.rb
trello_cli-0.4.0 lib/trello_cli/requests/list_lists.rb
trello_cli-0.3.0 lib/trello_cli/requests/list_lists.rb
trello_cli-0.2.1 lib/trello_cli/requests/list_lists.rb
trello_cli-0.2.0 lib/trello_cli/requests/list_lists.rb
trello_cli-0.1.0 lib/trello_cli/requests/list_lists.rb
trello_cli-0.0.4 lib/trello_cli/requests/list_lists.rb
trello_cli-0.0.3 lib/trello_cli/requests/list_lists.rb
trello_cli-0.0.2 lib/trello_cli/requests/list_lists.rb
trello_cli-0.0.1 lib/trello_cli/requests/list_lists.rb