Ambassador-API-V2

 view release on metacpan or  search on metacpan

README  view on Meta::CPAN

    $api->post($method, \%args);

    $api->get($method, \%args);

          my $response = $api->post($method, \%args);
          my $response = $api->get($method, \%args);

      Call an Ambassador API $method with the given %args.

      If successful, it returns an Ambassdor::API::V2::Response. If it
      fails, it will throw an Ambassador::API::V2::Error.

      See the Ambassador API docs <https://docs.getambassador.com/docs/>
      for what $methods are available, what %args they take, and which
      should be called with get or post.

SOURCE

    The source code repository for Ambassador-API-V2 can be found at
    https://github.com/dreamhost/Ambassador-API-V2.

README.md  view on Meta::CPAN


- $api->post($method, \\%args);
- $api->get($method, \\%args);

        my $response = $api->post($method, \%args);
        my $response = $api->get($method, \%args);

    Call an Ambassador API `$method` with the given `%args`.

    If successful, it returns an [Ambassdor::API::V2::Response](https://metacpan.org/pod/Ambassdor::API::V2::Response).
    If it fails, it will throw an [Ambassador::API::V2::Error](https://metacpan.org/pod/Ambassador::API::V2::Error).

    See the [Ambassador API docs](https://docs.getambassador.com/docs/)
    for what $methods are available, what `%args` they take, and which
    should be called with `get` or `post`.

# SOURCE

The source code repository for Ambassador-API-V2 can be found at
`https://github.com/dreamhost/Ambassador-API-V2`.

lib/Ambassador/API/V2.pm  view on Meta::CPAN

=item $api->post($method, \%args);

=item $api->get($method, \%args);

    my $response = $api->post($method, \%args);
    my $response = $api->get($method, \%args);

Call an Ambassador API C<$method> with the given C<%args>.

If successful, it returns an L<Ambassdor::API::V2::Response>.
If it fails, it will throw an L<Ambassador::API::V2::Error>.

See the L<Ambassador API docs|https://docs.getambassador.com/docs/>
for what $methods are available, what C<%args> they take, and which
should be called with C<get> or C<post>.

=back

=head1 SOURCE

The source code repository for Ambassador-API-V2 can be found at



( run in 0.461 second using v1.01-cache-2.11-cpan-496ff517765 )