| 1 | package Net::HTTP::API::Parser::YAML; | ||
| 2 | 1 | ▶ | BEGIN { |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 1 | $Net::HTTP::API::Parser::YAML::VERSION = '0.14'; | |
| 4 | } | ||
| 5 | |||
| 6 | # ABSTRACT: Parse YAML | ||
| 7 | |||
| 8 | 1 | ▶ | use YAML::Syck; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | 1 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 10 | 1 | extends 'Net::HTTP::API::Parser'; | |
| 11 | |||
| 12 | 0 | ▶ | sub encode { |
|
Subroutine
encode: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 13 | 0 | my ($self, $content) = @_; | |
| 14 | 0 | return Dump($content); | |
| 15 | } | ||
| 16 | |||
| 17 | 0 | ▶ | sub decode { |
|
Subroutine
decode: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 18 | 0 | my ($self, $content) = @_; | |
| 19 | 0 | return Load($content); | |
| 20 | } | ||
| 21 | |||
| 22 | 1 | 1; | |
| 23 | |||
| 24 | |||
| 25 | __END__ | ||