tem * Kelp::Request
Adds C<is_yaml>, C<yaml_param> and C<yaml_content> methods, all working like
json counterparts.
=item * Kelp::Response
Adds C<yaml> method and an ability for C<render> to turn a
ntent type.
=item * Kelp::Test
Adds C<yaml_cmp> and C<yaml_content> methods, working like their json counterparts.
=back
The rest of the configuration is fed to L<YAML::PP/new>.
YAML content type
es->header('content-type'), qr/yaml/, 'Content-Type is YAML'
or return $self;
my $json = $self->yaml_content;
cmp_deeply($json, $expected, $test_name) or diag explain $json;
return $self;
}
1;