Mini::Inject::REST::Client::API;
use Moose;
use Carp qw/confess/;
use HTTP::Request::Common;
use JSON;
use MIME::Base64;
use REST::Client;
use Try::Tiny;
use URI;
has 'host' => (isa => 'Str', is
----------
sub process {
my ($self, $response) = @_;
my $content = try {
decode_json($response->responseContent);
} catch {
$response->responseContent;
};