API-Trello
    
    
  
  
  
view release on metacpan or search on metacpan
README.mkdn view on Meta::CPAN
# SYNOPSIS
    use API::Trello;
    my $trello = API::Trello->new(
        key        => 'KEY',
        token      => 'TOKEN',
        identifier => 'APPLICATION NAME',
    );
    $trello->debug(1);
    $trello->fatal(1);
    my $board = $trello->boards('4d5ea62fd76a');
    my $results = $board->fetch;
    # after some introspection
    $board->update( ... );
# DESCRIPTION
    
  
  
  README.mkdn view on Meta::CPAN
The token attribute should be set to the account holder's API access token.
## identifier
    $trello->identifier;
    $trello->identifier('IDENTIFIER');
The identifier attribute should be set using a string to identify your app.
## debug
    $trello->debug;
    $trello->debug(1);
The debug attribute if true prints HTTP requests and responses to standard out.
## fatal
    $trello->fatal;
    $trello->fatal(1);
The fatal attribute if true promotes 4xx and 5xx server response codes to
exceptions, a [API::Client::Exception](https://metacpan.org/pod/API::Client::Exception) object.
## retries
    
  
  
  lib/API/Trello.pm view on Meta::CPAN
    # default headers
    $headers->header('Content-Type' => 'application/json');
}
method resource (@segments) {
    # build new resource instance
    my $instance = __PACKAGE__->new(
        debug      => $self->debug,
        fatal      => $self->fatal,
        retries    => $self->retries,
        timeout    => $self->timeout,
        user_agent => $self->user_agent,
        key        => $self->key,
        token      => $self->token,
        identifier => $self->identifier,
        version    => $self->version,
    );
    
  
  
  lib/API/Trello.pm view on Meta::CPAN
=head1 SYNOPSIS
    use API::Trello;
    my $trello = API::Trello->new(
        key        => 'KEY',
        token      => 'TOKEN',
        identifier => 'APPLICATION NAME',
    );
    $trello->debug(1);
    $trello->fatal(1);
    my $board = $trello->boards('4d5ea62fd76a');
    my $results = $board->fetch;
    # after some introspection
    $board->update( ... );
=head1 DESCRIPTION
    
  
  
  lib/API/Trello.pm view on Meta::CPAN
The token attribute should be set to the account holder's API access token.
=head2 identifier
    $trello->identifier;
    $trello->identifier('IDENTIFIER');
The identifier attribute should be set using a string to identify your app.
=head2 debug
    $trello->debug;
    $trello->debug(1);
The debug attribute if true prints HTTP requests and responses to standard out.
=head2 fatal
    $trello->fatal;
    $trello->fatal(1);
The fatal attribute if true promotes 4xx and 5xx server response codes to
exceptions, a L<API::Client::Exception> object.
=head2 retries
    
  
  
  
( run in 0.256 second using v1.01-cache-2.11-cpan-a1d94b6210f )