Sha256: 7340a1a11b1126f071438d9aa95190c40082efc9daef41029556f0d38e72af81

Contents?: true

Size: 376 Bytes

Versions: 1

Compression:

Stored size: 376 Bytes

Contents

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

      private

      def by_id
        Troo::Member[id]
      end

      def by_external_id
        Troo::Member.first(external_member_id: id)
      end

      def remote
        Troo::Member.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/member.rb