Simon Wistow
and 1 contributors

NAME

Net::Posterous::Post - represent a post instance in Net::Posterous

METHODS

new

Create a new Post

id

Get or set the id of the post.

title

Get or set the title of the post.

body

Get or set the body of the post.

tags [tag[s]]

Get or set the tags for a post as an array of tags.

tag [tag list]

Get or set the tags for a post as an string of comma separated tags.

datetime

Get or set the date of this post as a DateTime object.

date

Get or set the date of this post as an RFC822 encoded date string.

site_id

Get the site id of this Post

media

Get or set a list of Net::Posterous::Media objects for this post.

comments

Get or set a list of Net::Posterous::Comment objects for this post.

autopost

Get or set whether to autopost.

private

Get or set whether this is private.

source

Get or set what the source app for this post is.

Get or set what the link to the source app for this post is.

sourceLink is an alias due to Posterous having interestingly inconsistent naming schema.

comments_enabled

commentsenabled.

Get or set whether comments are enabled for this post.

commentsenabled is an alias due to Posterous having interestingly inconsistent naming schema.

url

Get or set the http://post.ly url for this post.

short_code

Get or set the short code for this post.

longurl

Get or set the long url for this Post.

Get or set the link for this Post.

views

Get or set the number of views for this Post.

author

Get or set the author for this Post.

author_pic

Get or set the author picture for this Post.

authorpic is an alias due to Posterous having interestingly inconsistent naming schema.

comments_count

Get or set the count of the number of comments for this post.

commentscount is an alias due to Posterous having interestingly inconsistent naming schema.