Sha256: dd1fd7befc2164fcd95ed35834c9f10c911a76a9f3c70fc36a65eb8177d3b1c6

Contents?: true

Size: 298 Bytes

Versions: 5

Compression:

Stored size: 298 Bytes

Contents

require "redd/thing"

module Redd
  class Thing
    module Inboxable
      def mark_as_read
        client.mark_as_read(self)
      end

      def mark_as_unread
        client.mark_as_unread(self)
      end

      def reply(text)
        client.add_comment(self, text)
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
redd-0.4.3 lib/redd/thing/inboxable.rb
redd-0.4.2 lib/redd/thing/inboxable.rb
redd-0.4.1 lib/redd/thing/inboxable.rb
redd-0.4.0 lib/redd/thing/inboxable.rb
redd-0.3.0 lib/redd/thing/inboxable.rb