Net::Iugu::Plans - Net::Iugu::Plans - Methods to manage plans
version 0.000002
Implements the API calls to manage plans of Iugu accounts. It is used by the main module Net::Iugu and shouldn'tb e instantiated directly.
use Net::Iugu::Plans; my $plans = Net::Iugu::Plans->new( token => 'my_api_token' ); my $res; $res = $plans->create( $data ); $res = $plans->read( $plan_id ); $res = $plans->read_by_identifier( $plan_id ); $res = $plans->update( $plan_id, $data ); $res = $plans->delete( $plan_id ); $res = $plans->list( $params );
For a detailed reference of params and return values check the Official Documentation.
Inherited from Net::Iugu::CRUD, creates a new plan.
Inherited from Net::Iugu::CRUD, returns data of a plan.
Returns data of a plan using an identifier ID.
Inherited from Net::Iugu::CRUD, updates a plan.
Inherited from Net::Iugu::CRUD, removes a plan.
Inherited from Net::Iugu::CRUD, lists all plans.
Blabos de Blebe <blabos@cpan.org>
This software is copyright (c) 2015 by Blabos de Blebe.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Net::Iugu, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::Iugu
CPAN shell
perl -MCPAN -e shell install Net::Iugu
For more information on module installation, please visit the detailed CPAN module installation guide.