| 1 | package WebService::Walmart::Taxonomy; | ||
| 2 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 1 | $WebService::Walmart::Taxonomy::VERSION = '0.01'; | |
| 5 | 1 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | 1 | ▶ | use namespace::autoclean; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | # from https://developer.walmartlabs.com/docs/read/Taxonomy_API | ||
| 9 | 1 | has api_version => ( is => 'ro', default => 24); | |
| 10 | 1 | has id => ( is => 'ro'); | |
| 11 | 1 | has 'name' => ( is => 'ro'); | |
| 12 | 1 | has children => ( is => 'ro'); | |
| 13 | |||
| 14 | 1 | __PACKAGE__->meta->make_immutable; | |
| 15 | 1 | 1; | |
| 16 | |||
| 17 | =pod | ||
| 18 | |||
| 19 | |||
| 20 | =head1 SYNOPSIS | ||
| 21 | |||
| 22 | This module represents the metadata associated with the taxonomy. | ||
| 23 | |||
| 24 | You probably shouldn't be calling this directly | ||
| 25 | |||
| 26 | =cut | ||