Business-Fixflo
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
0.12 2015-09-16
- Add VulnerableOccupiers attribute to Issue object
- Add undelete method to Agency object
- Change delete method on Agency object to use POST
0.11 2015-08-07
- Add PropertyAddressId attribute to Issue object
0.10 2015-07-03
- Fix Property Issues and Addresses attributes to return objects,
since calls to this endpoint return a list of json objects and
not a list or url strings
0.09 2015-07-02
- Fix Authorization header when using api_key
0.08 2015-07-02
- Add create_url and search_url to Issue object
- Change cluck to carp
- Add perldoc for FIXFLO_DEBUG env variable
t/business/fixflo/client.t view on Meta::CPAN
throws_ok(
sub { Business::Fixflo::Client->new(
custom_domain => 'foo',
password => 'foo',
) },
qr/api_key or username \+ password required/,
'Client->new throws api_key or username + password not set'
);
# monkey patching LWP here to make this test work without
# having to actually hit the endpoints or use credentials
no warnings 'redefine';
no warnings 'once';
my $mock = Test::MockObject->new;
$mock->mock( 'is_success',sub { 1 } );
$mock->mock( 'headers',sub { $mock } );
$mock->mock( 'header',sub { 'application/json' } );
$mock->mock( 'content',sub { '{ "Id" : 1 }' } );
*LWP::UserAgent::request = sub { $mock };
cmp_deeply(
view all matches for this distributionview release on metacpan - search on metacpan
( run in 0.556 second using v1.00-cache-2.02-grep-82fe00e-cpan-4673cadbf75 )