API-Drip-Request

 view release on metacpan or  search on metacpan

lib/API/Drip/Request.pm  view on Meta::CPAN

56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
=head2 new()
 
Creates the API::Drip::Request object.  See L</"CONFIGURATION"> for accepted parameters.
 
Also accepts:
 
=over
 
=item debugger
 
A codref that should accept a list of diagnostic strings and log them somewhere
useful for debugging purposes.  Only used when DRIP_DEBUG is true.  
 
=back
 
=cut
 
my $config_validator = validation_for(
    params => {
        DRIP_CLIENT_CONF => { type => Str(), optional => 1 },
        map { $_ => { type => Str(), optional => 1 } } keys %DEFAULTS,

lib/API/Drip/Request.pm  view on Meta::CPAN

191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
=back
 
=back
 
The following configuration data is accepted:
 
=over
 
=item * DRIP_TOKEN (required)
 
This is the user token assigned to you by drip.   When you are logged in, look for "API Token" at https://www.getdrip.com/user/edit
 
=item * DRIP_ID (required)
 
This is the numeric user id assigned to you by drip.   When logged in, find it in your settings under Account->General Info.
 
=item * DRIP_URI (optional)
 
This defaults to https://api.getdrip.com/v2.   You probably shouldn't change this.
 
=item * DRIP_AGENT (optional)
 
Defaults to "API::Drip".   Specifies the HTTP Agent header.
 
=item * DRIP_DEBUG (optional)



( run in 0.432 second using v1.01-cache-2.11-cpan-87723dcf8b7 )