Sha256: cc0a42fa59deea040f50d77f45118569610395c81808214f0ed240484af55840

Contents?: true

Size: 427 Bytes

Versions: 1

Compression:

Stored size: 427 Bytes

Contents

module Troo
  module Retrieval
    class Board < Resource
      class << self
        def all
          Troo::Board.all
        end
      end

      private

      def default
        Troo::Board.default
      end

      def by_id
        Troo::Board[id]
      end

      def by_external_id
        Troo::Board.first(external_board_id: id)
      end

      def remote
        Troo::Board.remote(id)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
troo-0.0.8 lib/troo/models/retrieval/board.rb