Event );
use Net::Google::CalendarV3::Calendar;
use Net::Google::CalendarV3::Event;
use WWW::JSON;
use JSON::XS;
has authentication => is => 'ro', lazy => 1, predicate => 'has_auth', builder => '_bui
=> 1;
method _build_service {
WWW::JSON->new( base_url => 'https://www.googleapis.com/calendar/v3',
post_body_format => 'JSON',
( $self->has_auth
lf->has_token ? (authentication => $self->authentication) : () ),
json => JSON::XS->new->utf8->allow_nonref->allow_blessed->convert_blessed,
);
}
method _build_a