
Net::PingFM::Service - Class To Describe a ping.fm service

Class to describe a ping.fm service, generaly spat out by Net::PingFM.

Name for this service
id for this service
Trigger for this service, such as '@fb'
Url for this service, such as http://twitter.com
Icon (url) for this service
If we can use the blog method with this service returns 1 (true), otherwise returns 0 (false)
If we can use the microblog method with this service returns 1 (true), otherwise returns 0 (false)
If we can use the status method with this service returns 1 (true), otherwise returns 0 (false)

Whilst these aren't "private" they're not really nessasery or required, but feel free to use them if you want.
List (reference) containing acceptable methods for this service (blog, microblog, status )
my $meths = $srv->methods_hash;
if( $meths->{blog} ){ print 'we can blog'; }
Returns a hash reference where the keys are the method labels (blog, microblog, status) and the values are 1 or 0. A value of 1 indicates that method is available to the service zero indicates that it is not.

Joe Higton

Copyright 2008 Joe Higton
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.