Method: Funky::Post#type

Defined in:
lib/funky/post.rb

#typeString

Returns the type of post.

Returns:

  • (String)

    the type of post.



4
5
6
# File 'lib/funky/post.rb', line 4

def type
  data[:type]
end