Sha256: 5ccf6bc2fae99ab43ec3d66c0ef09b3ff2739bb915a863cf500db1d1fb1e22dd

Contents?: true

Size: 243 Bytes

Versions: 4

Compression:

Stored size: 243 Bytes

Contents

module Tumblr
  class Post
    class Text < Post
      def initialize(post_data = {})
        super(post_data)
        @type = :text
      end

      def body
        @body
      end

      def title
        @title
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
tumblr-rb-2.1.1 lib/tumblr/post/text.rb
tumblr-rb-2.1.0 lib/tumblr/post/text.rb
tumblr-rb-2.0.0 lib/tumblr/post/text.rb
tumblr-rb-2.0.0.alpha lib/tumblr/post/text.rb