API-Client
view release on metacpan or search on metacpan
serialize example #1
# given: synopsis
$client->serialize;
update
update(Any %args) : InstanceOf["Mojo::Transaction"]
The update method issues a PUT request to the API resource represented
by the object.
update example #1
# given: synopsis
$client->resource('put')->update(
json => {active => 1}
);
- serialize example #1
# given: synopsis
$client->serialize;
## update
update(Any %args) : InstanceOf["Mojo::Transaction"]
The update method issues a `PUT` request to the API resource represented by
the object.
- update example #1
# given: synopsis
$client->resource('put')->update(
json => {active => 1}
);
lib/API/Client.pm view on Meta::CPAN
$client->serialize;
=back
=cut
=head2 update
update(Any %args) : InstanceOf["Mojo::Transaction"]
The update method issues a C<PUT> request to the API resource represented by
the object.
=over 4
=item update example #1
# given: synopsis
$client->resource('put')->update(
json => {active => 1}
t/API_Client.t view on Meta::CPAN
=example-1 serialize
# given: synopsis
$client->serialize;
=cut
=method update
The update method issues a C<PUT> request to the API resource represented by
the object.
=signature update
update(Any %args) : InstanceOf["Mojo::Transaction"]
=example-1 update
# given: synopsis
( run in 0.333 second using v1.01-cache-2.11-cpan-4e96b696675 )