Simon Wistow > Net-Gnip-0.3 > Net::Gnip::Publisher

Download:
Net-Gnip-0.3.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

Net::Gnip::Publisher - represent a publisher

SYNOPSIS ^

    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 ^

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

syntax highlighting: