Skip to content
This repository has been archived by the owner on Oct 1, 2021. It is now read-only.

Commit

Permalink
Moved get_gateway_class() function to the configuration class.
Browse files Browse the repository at this point in the history
  • Loading branch information
remcotolsma committed Feb 23, 2016
1 parent c776bae commit b05a60e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 4 additions & 0 deletions src/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,8 @@ class Pronamic_WP_Pay_Gateways_OmniKassa_Config extends Pronamic_WP_Pay_GatewayC
public $secret_key;

public $key_version;

public function get_gateway_class() {
return 'Pronamic_WP_Pay_Gateways_OmniKassa_Gateway';
}
}
4 changes: 0 additions & 4 deletions src/Integration.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,6 @@ public function get_settings_class() {
return 'Pronamic_WP_Pay_Gateways_OmniKassa_Settings';
}

public function get_gateway_class() {
return 'Pronamic_WP_Pay_Gateways_OmniKassa_Gateway';
}

/**
* Get required settings for this integration.
*
Expand Down

0 comments on commit b05a60e

Please sign in to comment.