AgentPushKit-Client
view release on metacpan or search on metacpan
lib/AgentPushKit/Client/ApiClient.pm view on Meta::CPAN
return $_response->content;
}
# Take value and turn it into a string suitable for inclusion in
# the path, by url-encoding.
# @param string $value a string which will be part of the path
# @return string the serialized object
sub to_path_value {
my ($self, $value) = @_;
return uri_escape($self->to_string($value));
}
# Take value and turn it into a string suitable for inclusion in
# the query, by imploding comma-separated if it's an object.
# If it's a string, pass through unchanged. It will be url-encoded
# later.
# @param object $object an object to be serialized to a string
# @return string the serialized object
sub to_query_value {
( run in 1.834 second using v1.01-cache-2.11-cpan-54e63673c56 )