The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

WebService::ChatWorkApi::Response - isa specific response class of response of ChatWork REST API

SYNOPSIS

  use Data::Dumper;
  use WebService::ChatWorkApi::Response;
  my $res = $ua->get( "/me" );
  bless $res, "WebService::ChatWorkApi::Response";
  warn Dumper $res->decoded_content;

DESCRIPTION

This module provides a few methods to represent ChatWork REST API spec.

Two most things are:

1. response is a JSON 2. 204 No Content at response list is empty (Not []).