Sha256: 5ae6e3349cae967f65ba8cace10d009c04fc944f3476af42b7e8bfa11937ae4d

Contents?: true

Size: 361 Bytes

Versions: 1

Compression:

Stored size: 361 Bytes

Contents

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

      private

      def by_id
        Troo::Comment[id]
      end

      def by_external_id
        Troo::Comment.first(external_comment_id: id)
      end

      def remote
        nil
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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