Games-Lacuna-Client
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
lib/Games/Lacuna/Client/Alliance.pm view on Meta::CPAN
package Games::Lacuna::Client::Alliance;
{
$Games::Lacuna::Client::Alliance::VERSION = '0.003';
}
use 5.0080000;
use strict;
use warnings;
use Carp 'croak';
use Games::Lacuna::Client;
use Games::Lacuna::Client::Module;
our @ISA = qw(Games::Lacuna::Client::Module);
use Class::XSAccessor {
getters => [qw(alliance_id)],
};
sub api_methods {
return {
find => { default_args => [qw(session_id)] },
view_profile => { default_args => [qw(session_id alliance_id)] },
};
}
sub new {
my $class = shift;
my %opt = @_;
my $self = $class->SUPER::new(@_);
bless $self => $class;
$self->{alliance_id} = $opt{id};
return $self;
}
__PACKAGE__->init();
1;
__END__
=head1 NAME
Games::Lacuna::Client::Alliance - The alliance module
=head1 SYNOPSIS
use Games::Lacuna::Client;
=head1 DESCRIPTION
=head1 AUTHOR
Steffen Mueller, E<lt>smueller@cpan.orgE<gt>
=head1 COPYRIGHT AND LICENSE
Copyright (C) 2010 by Steffen Mueller
This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself, either Perl version 5.10.0 or,
at your option, any later version of Perl 5 you may have available.
=cut
view all matches for this distributionview release on metacpan - search on metacpan
( run in 0.769 second using v1.00-cache-2.02-grep-82fe00e-cpan-503542c4f10 )