[Jifty-commit] r5096 - in Net-Jifty: .
Jifty commits
jifty-commit at lists.jifty.org
Mon Feb 11 18:59:49 EST 2008
Author: sartak
Date: Mon Feb 11 18:59:48 2008
New Revision: 5096
Modified:
Net-Jifty/ (props changed)
Net-Jifty/lib/Net/Jifty.pm
Log:
r51764 at onn: sartak | 2008-02-11 18:59:44 -0500
appname is no longer required
Modified: Net-Jifty/lib/Net/Jifty.pm
==============================================================================
--- Net-Jifty/lib/Net/Jifty.pm (original)
+++ Net-Jifty/lib/Net/Jifty.pm Mon Feb 11 18:59:48 2008
@@ -25,14 +25,22 @@
=head1 SYNOPSIS
use Net::Jifty;
- my $j = Net::Jifty->new(site => 'http://mushroom.mu/', cookie_name => 'MUSHROOM_KINGDOM_SID', appname => 'MushroomKingdom', email => 'god at mushroom.mu', password => 'melange');
+ my $j = Net::Jifty->new(
+ site => 'http://mushroom.mu/',
+ cookie_name => 'MUSHROOM_KINGDOM_SID',
+ email => 'god at mushroom.mu',
+ password => 'melange',
+ );
# the story begins
$j->create(Hero => name => 'Mario', job => 'Plumber');
- # find the hero whose job is Plumber and change his name to Luigi and color
- # to green
- $j->update(Hero => job => 'Plumber', name => 'Luigi', color => 'Green');
+ # find the hero whose job is Plumber and change his name to Luigi
+ # and color to green
+ $j->update(Hero => job => 'Plumber',
+ name => 'Luigi',
+ color => 'Green',
+ );
# win!
$j->delete(Enemy => name => 'Bowser');
@@ -79,7 +87,6 @@
has appname => (
is => 'rw',
isa => 'Str',
- required => 1,
documentation => "The name of the application, as it is known to Jifty",
);
More information about the Jifty-commit
mailing list