NAME

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

DESCRIPTION

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

ACCESSORS

name

Name for this service

id

id for this service

trigger

Trigger for this service, such as '@fb'

url

Url for this service, such as http://twitter.com

Icon (url) for this service

can_blog

If we can use the blog method with this service returns 1 (true), otherwise returns 0 (false)

can_microblog

If we can use the microblog method with this service returns 1 (true), otherwise returns 0 (false)

can_status

If we can use the status method with this service returns 1 (true), otherwise returns 0 (false)

SECONDARY METHODS

Whilst these aren't "private" they're not really nessasery or required, but feel free to use them if you want.

methods

List (reference) containing acceptable methods for this service (blog, microblog, status )

methods_hash

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.

AUTHOR

Joe Higton

COPYRIGHT

Copyright 2008 Joe Higton

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