Skip to content

Commit

Permalink
Update api.php
Browse files Browse the repository at this point in the history
  • Loading branch information
takayukister committed Aug 30, 2021
1 parent 79d7d23 commit c5680ab
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions modules/stripe/api.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,23 @@ class WPCF7_Stripe_API {
private $secret;


/**
* Constructor.
*
* @param string $secret Secret key.
*/
public function __construct( $secret ) {
$this->secret = $secret;
}


/**
* Sends a debug information for a remote request to the PHP error log.
*
* @param string $url URL to retrieve.
* @param array $request Request arguments.
* @param array|WP_Error $response The response or WP_Error on failure.
*/
private function log( $url, $request, $response ) {
wpcf7_log_remote_request( $url, $request, $response );
}
Expand Down

0 comments on commit c5680ab

Please sign in to comment.