Shopify/Model/Currency.pm untested

filter: Statementstmt 0.0% 0 / 22 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 10 Podpod 0.0% 0 / 6 totaltotal 0.0% 0 / 40 CC 1 SCAR 6.9
CC
1
Cov
0%
fields
2.0
BEGIN
2.0
plural
2.0
CRAP 2.0
1 use strict;
2 use warnings;
3  
4 use WWW::Shopify;
5  
6 package WWW::Shopify::Model::Currency;
7 use parent "WWW::Shopify::Model::Item";
8  
9 my $fields; sub fields { return $fields; }
10 BEGIN { $fields = {
11 "currency" => new WWW::Shopify::Field::Currency(),
12 "rate_updated_at" => new WWW::Shopify::Field::Date(),
13 "enabled" => new WWW::Shopify::Field::Boolean()
14 }; }
15 sub plural { return "currencies"; }
16  
17 sub creatable { undef; }
18 sub singlable { undef; }
19 sub updatable { undef; }
20  
21 eval(__PACKAGE__->generate_accessors); die $@ if $@;
22  
23 1