« blib/lib/WWW/Shopify/Model/CustomCollection/Collect.pm
↑ Summary
blib/lib/WWW/Shopify/Model/APIPermission.pm »
| 1 | #!/usr/bin/perl | ||||||||||||||||||||||||||||||||||||||||||
| 2 | |||||||||||||||||||||||||||||||||||||||||||
| 3 | 1 | ▶ | use strict; | ||||||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||||||
| 4 | 1 | ▶ | use warnings; | ||||||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||||||
| 5 | |||||||||||||||||||||||||||||||||||||||||||
| 6 | 1 | ▶ | use WWW::Shopify; | ||||||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||||||
| 7 | |||||||||||||||||||||||||||||||||||||||||||
| 8 | package WWW::Shopify::Model::Event; | ||||||||||||||||||||||||||||||||||||||||||
| 9 | 1 | ▶ | use parent 'WWW::Shopify::Model::Item'; | ||||||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||||||
| 10 | |||||||||||||||||||||||||||||||||||||||||||
| 11 | 27 | ▶ | my $fields; sub fields { return $fields; } | ||||||||||||||||||||||||||||||||||||||||
|
Subroutine
fields: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||||||||||||||||||||||||||||||||||
| 12 | 1 | ▶ | BEGIN { $fields = { | ||||||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||||||
| 13 | "arguments" => new WWW::Shopify::Field::String(), | ||||||||||||||||||||||||||||||||||||||||||
| 14 | "id" => new WWW::Shopify::Field::Identifier(), | ||||||||||||||||||||||||||||||||||||||||||
| 15 | "body" => new WWW::Shopify::Field::String(), | ||||||||||||||||||||||||||||||||||||||||||
| 16 | "created_at" => new WWW::Shopify::Field::Date(min => '2010-01-01 00:00:00', max => 'now'), | ||||||||||||||||||||||||||||||||||||||||||
| 17 | "message" => new WWW::Shopify::Field::String::Words(), | ||||||||||||||||||||||||||||||||||||||||||
| 18 | "subject_id" => new WWW::Shopify::Field::Identifier(), | ||||||||||||||||||||||||||||||||||||||||||
| 19 | "subject_type" => new WWW::Shopify::Field::String::Enum([qw(Article Blog Collection Comment Order Page Product)]), | ||||||||||||||||||||||||||||||||||||||||||
| 20 | "verb" => new WWW::Shopify::Field::String() | ||||||||||||||||||||||||||||||||||||||||||
| 21 | }; } | ||||||||||||||||||||||||||||||||||||||||||
| 22 | |||||||||||||||||||||||||||||||||||||||||||
| 23 | 0 | ▶ | sub get_all_through_parent { return 1; } | ||||||||||||||||||||||||||||||||||||||||
|
Subroutine
get_all_through_parent: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||||||||||||||||||||||||||||||||
| 24 | 0 | ▶ | sub get_through_parent { return undef; } | ||||||||||||||||||||||||||||||||||||||||
|
Subroutine
get_through_parent: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||||||||||||||||||||||||||||||||
| 25 | 0 | ▶ | sub creatable { return undef; } | ||||||||||||||||||||||||||||||||||||||||
|
Subroutine
creatable: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||||||||||||||||||||||||||||||||
| 26 | 0 | ▶ | sub updatable { return undef; } | ||||||||||||||||||||||||||||||||||||||||
|
Subroutine
updatable: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||||||||||||||||||||||||||||||||
| 27 | 0 | ▶ | sub deletable { return undef; } | ||||||||||||||||||||||||||||||||||||||||
|
Subroutine
deletable: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||||||||||||||||||||||||||||||||
| 28 | |||||||||||||||||||||||||||||||||||||||||||
| 29 | 9 | ▶ | my $queries; sub queries { return $queries; } | ||||||||||||||||||||||||||||||||||||||||
|
Subroutine
queries: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||||||||||||||||||||||||||||||||||
| 30 | 1 | ▶ | BEGIN { $queries = { | ||||||||||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||||||||||
| 31 | created_at_min => new WWW::Shopify::Query::LowerBound('created_at'), | ||||||||||||||||||||||||||||||||||||||||||
| 32 | created_at_max => new WWW::Shopify::Query::UpperBound('created_at'), | ||||||||||||||||||||||||||||||||||||||||||
| 33 | updated_at_min => new WWW::Shopify::Query::LowerBound('updated_at'), | ||||||||||||||||||||||||||||||||||||||||||
| 34 | updated_at_max => new WWW::Shopify::Query::UpperBound('updated_at'), | ||||||||||||||||||||||||||||||||||||||||||
| 35 | status => new WWW::Shopify::Query::Enum('status', ['open', 'closed', 'cancelled', 'any']), | ||||||||||||||||||||||||||||||||||||||||||
| 36 | financial_status => new WWW::Shopify::Query::Match('financial_status'), | ||||||||||||||||||||||||||||||||||||||||||
| 37 | fulfillment_status => new WWW::Shopify::Query::Match('fulfillment_status'), | ||||||||||||||||||||||||||||||||||||||||||
| 38 | since_id => new WWW::Shopify::Query::LowerBound('id') | ||||||||||||||||||||||||||||||||||||||||||
| 39 | }; } | ||||||||||||||||||||||||||||||||||||||||||
| 40 | |||||||||||||||||||||||||||||||||||||||||||
| 41 | |||||||||||||||||||||||||||||||||||||||||||
| 42 | 0 | ▶ | eval(__PACKAGE__->generate_accessors); die $@ if $@; | ||||||||||||||||||||||||||||||||||||||||
|
Subroutine
arguments: not called CC=2 SCAR=16.3
Subroutine
body: not called CC=2 SCAR=16.3
Subroutine
created_at: not called CC=2 SCAR=16.3
Subroutine
id: not called CC=2 SCAR=16.3
Subroutine
message: not called CC=2 SCAR=16.3
Subroutine
subject_id: not called CC=2 SCAR=16.3
Subroutine
subject_type: not called CC=2 SCAR=16.3
Subroutine
verb: not called CC=2 SCAR=16.3
Pod
undocumented
Pod
undocumented
Pod
undocumented
Pod
undocumented
Pod
undocumented
Pod
undocumented
Pod
undocumented
Pod
undocumented
Branch: 9 branches
| |||||||||||||||||||||||||||||||||||||||||||
| 43 | |||||||||||||||||||||||||||||||||||||||||||
| 44 | 1 | 1; | |||||||||||||||||||||||||||||||||||||||||