Net::Gnip::Publisher - represent a publisher


Net-Gnip documentation  | view source Contained in the Net-Gnip distribution.

Index


NAME

Top

Net::Gnip::Publisher - represent a publisher

SYNOPSIS

Top

    my $publisher = Net::Gnip::Publisher->new($name);

    # ... or parse from xml
    my $publisher = Net::Gnip::Publisher->parse($xml);

    # Set the name
    $publisher->name($name);

    # Get the name
    my $name = $publisher->name

    print $publisher->as_xml;

METHODS

Top

new <name>

Initializes a Net::Gnip::Publisher object

name [name]

Get or set the name

parse <xml>

Parse some xml into an activity.

as_xml

Return the activity as xml


Net-Gnip documentation  | view source Contained in the Net-Gnip distribution.