Sha256: 68d7279ee58eeea5aae48635ab65c6b0339aa5418cbaab2f17f117a5f1a0783f

Contents?: true

Size: 359 Bytes

Versions: 1

Compression:

Stored size: 359 Bytes

Contents

module Tumblr
  class Post
    class Chat < Post
      def initialize(post_data = {})
        super(post_data)
        @type = :chat
        @conversation ||= @body
      end

      def title
        @title
      end

      def conversation
        @conversation
      end

      def self.post_body_keys
        [:conversation]
      end
    end
  end
end



Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tumblr-rb-2.1.1 lib/tumblr/post/chat.rb