blib/lib/OpenID/Lite/Message/Decoder/Mojo.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 6 | 6 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 2 | 2 | 100.0 |
pod | n/a | ||
total | 8 | 8 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package OpenID::Lite::Message::Decoder::Mojo; | ||||||
2 | |||||||
3 | 1 | 1 | 6 | use Any::Moose; | |||
1 | 2 | ||||||
1 | 6 | ||||||
4 | extends 'OpenID::Lite::Message::Decoder::Hash'; | ||||||
5 | |||||||
6 | override 'decode' => sub { | ||||||
7 | my ( $self, $request ) = @_; | ||||||
8 | return super( $request->params->to_hash ); | ||||||
9 | }; | ||||||
10 | |||||||
11 | 1 | 1 | 769 | no Any::Moose; | |||
1 | 4 | ||||||
1 | 4 | ||||||
12 | __PACKAGE__->meta->make_immutable; | ||||||
13 | 1; | ||||||
14 | |||||||
15 |