Sha256: 14202a33a94a0966144cc797515c95023065a236aad4b9b85234ef7684143496

Contents?: true

Size: 414 Bytes

Versions: 1

Compression:

Stored size: 414 Bytes

Contents

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

      private

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

      def by_list_id
        []
      end

      def by_card_id
        []
      end

      def by_member_id
        [Trello::Member.find(external_id)]
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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