class Funky::Post

Public Instance Methods

created_time() click to toggle source

@return [DateTime] the created time of the post.

# File lib/funky/post.rb, line 9
def created_time
  DateTime.parse data[:created_time]
end
type() click to toggle source

@return [String] the type of post.

# File lib/funky/post.rb, line 4
def type
  data[:type]
end