The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Finance::GDAX::API::URL - URL assembly for GDAX REST API

SYNOPSIS

  use Finanace::GDAX::API::URL;
  my $url = Finance::GDAX::API::URL->new->testing;
  `wget $url/test_thing`;

DESCRIPTION

This class builds URLs for Finance::GDAX::API classes

ATTRIBUTES

debug

Bool that sets debug mode (will use sandbox). Defaults to true (1).

production

The base URI for production requests, including the https://

testing

The base URI for testing requests to the GDAX sandbox, including the https://

METHODS

get

Returns a string of the assembled URL

add

Adds to the URL, each will be separated with a '/'

  $url->add('products');

AUTHOR

Mark Rushing <mark@orbislumen.net>

COPYRIGHT AND LICENSE

This software is copyright (c) 2017 by Home Grown Systems, SPC.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.