[ Index ]

PHP Cross Reference of Phabricator

title

Body

[close]

/externals/balanced-php/src/Balanced/ -> Settings.php (summary)

(no description)

File Size: 43 lines (1 kb)
Included or required: 1 time
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Settings:: (1 method):
  configure()


Class: Settings  - X-Ref

Configurable settings.

You can either set these settings individually:

<code>
\Balanced\Settngs::api_key = 'my-api-key-secret';
</code>

or all at once:

<code>
\Balanced\Settngs::configure(
'https://api.balancedpayments.com',
'my-api-key-secret'
);
</code>
configure($url_root, $api_key)   X-Ref
Configure all settings.

param: string url_root The root (schema://hostname[:port]) to use when constructing api URLs.
param: string api_key The api key secret to use for authenticating when talking to the api. If null then api usage is limited to uauthenticated endpoints.



Generated: Sun Nov 30 09:20:46 2014 Cross-referenced by PHPXref 0.7.1