module CurateTumblr::Publish::Post
Public Instance Methods
init_post!( hash_config={} )
click to toggle source
# File lib/curate_tumblr/publish/post.rb, line 5 def init_post!( hash_config={} ) end
post_photos( photos_paths, caption='' )
click to toggle source
# File lib/curate_tumblr/publish/post.rb, line 8 def post_photos( photos_paths, caption='' ) caption = caption + @infos_caption photos_paths = [photos_paths] if photos_paths.is_a? String CurateTumblr.check_paths_ar_photos( photos_paths ) client_post_photos( photos_paths, body ) end
post_text( title, body )
click to toggle source
# File lib/curate_tumblr/publish/post.rb, line 15 def post_text( title, body ) body = body + @infos_caption client_post_text( title, body ) end