Sha256: 7f5ff5299abf7fde304c8f3db71a653be1f2d489d86c6863fa1ceb1490ceb9bd

Contents?: true

Size: 406 Bytes

Versions: 1

Compression:

Stored size: 406 Bytes

Contents

module Troo
  module External
    class List < Resource
      def persist
        Persistence::List.with_collection(fetch)
      end

      private

      def by_board_id
        Trello::Board.find(external_id).lists
      end

      def by_list_id
        [Trello::List.find(external_id)]
      end

      def by_card_id
        []
      end

      def by_member_id
        []
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
troo-0.0.8 lib/troo/external/list.rb