Method: Quickpress::Wordpress#get_post

Defined in:
lib/quickpress/wordpress.rb

#get_post(id) ⇒ Object

Returns post with numerical ‘id`. It’s a Hash with attributes/values.



105
106
107
# File 'lib/quickpress/wordpress.rb', line 105

def get_post id
  @client.getPost(:post_id => id)
end