| 1 | package SyForm::Role::Verify; | ||
| 2 | 7 | ▶ | BEGIN { |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 7 | $SyForm::Role::Verify::AUTHORITY = 'cpan:GETTY'; | |
| 4 | } | ||
| 5 | # ABSTRACT: Main verification logic (role for form holding config) | ||
| 6 | 7 | $SyForm::Role::Verify::VERSION = '0.103'; | |
| 7 | 7 | ▶ | use Moo::Role; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | 7 | ▶ | use Module::Runtime qw( use_module ); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | |||
| 10 | 7 | has verify_without_errors => ( | |
| 11 | is => 'lazy', | ||
| 12 | ); | ||
| 13 | |||
| 14 | 0 | ▶ | sub _build_verify_without_errors { |
|
Subroutine
_build_verify_without_errors: not called CC=1 SCAR=6.9
| |||
| 15 | 0 | my ( $self ) = @_; | |
| 16 | 0 | return 0; | |
| 17 | } | ||
| 18 | |||
| 19 | 7 | has syccess => ( | |
| 20 | is => 'lazy', | ||
| 21 | ); | ||
| 22 | |||
| 23 | 7 | ▶ | sub _build_syccess { |
|
Subroutine
_build_syccess: called CC=1 SCAR=0.0
| |||
| 24 | 7 | my ( $self ) = @_; | |
| 25 | 7 | return {}; | |
| 26 | } | ||
| 27 | |||
| 28 | 7 | has syccess_class => ( | |
| 29 | is => 'lazy', | ||
| 30 | ); | ||
| 31 | |||
| 32 | 7 | ▶ | sub _build_syccess_class { |
|
Subroutine
_build_syccess_class: called CC=1 SCAR=0.0
| |||
| 33 | 7 | my ( $self ) = @_; | |
| 34 | 7 | return 'Syccess'; | |
| 35 | } | ||
| 36 | |||
| 37 | 7 | has loaded_syccess_class => ( | |
| 38 | is => 'lazy', | ||
| 39 | ); | ||
| 40 | |||
| 41 | 7 | ▶ | sub _build_loaded_syccess_class { |
|
Subroutine
_build_loaded_syccess_class: called CC=1 SCAR=0.0
| |||
| 42 | 7 | my ( $self ) = @_; | |
| 43 | 7 | return use_module($self->syccess_class); | |
| 44 | } | ||
| 45 | |||
| 46 | 7 | 1; | |
| 47 | |||
| 48 | __END__ | ||