| 1 | package Bio::Cellucidate::Book; | ||
| 2 | |||
| 3 | 7 | ▶ | use base Bio::Cellucidate::Base; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | |||
| 5 | 6 | ▶ | sub route { '/books'; } |
|
Subroutine
route: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 6 | 4 | ▶ | sub element { 'book'; } |
|
Subroutine
element: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 7 | |||
| 8 | |||
| 9 | # Bio::Cellucidate::Book->models($book_id); | ||
| 10 | 0 | ▶ | sub models { |
|
Subroutine
models: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 11 | 0 | my $self = shift; | |
| 12 | 0 | my $id = shift; | |
| 13 | 0 | my $format = shift; | |
| 14 | 0 | $self->rest('GET', $self->route . "/$id" . Bio::Cellucidate::Model->route, $format)->processResponseAsArray(Bio::Cellucidate::Model->element); | |
| 15 | } | ||
| 16 | |||
| 17 | # Bio::Cellucidate::Book->agents($book_id); | ||
| 18 | 0 | ▶ | sub agents { |
|
Subroutine
agents: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 19 | 0 | my $self = shift; | |
| 20 | 0 | my $id = shift; | |
| 21 | 0 | my $format = shift; | |
| 22 | 0 | $self->rest('GET', $self->route . "/$id" . Bio::Cellucidate::Agent->route, $format)->processResponseAsArray(Bio::Cellucidate::Agent->element); | |
| 23 | } | ||
| 24 | |||
| 25 | # Bio::Celllucidate::Book->rules($book_id); | ||
| 26 | 0 | ▶ | sub rules { |
|
Subroutine
rules: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 27 | 0 | my $self = shift; | |
| 28 | 0 | my $id = shift; | |
| 29 | 0 | my $format = shift; | |
| 30 | 0 | $self->rest('GET', $self->route . "/$id" . Bio::Cellucidate::Rule->route, $format)->processResponseAsArray(Bio::Cellucidate::Rule->element); | |
| 31 | } | ||
| 32 | |||
| 33 | 7 | 1; | |