Skip to content

Commit

Permalink
0.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrii-fediuk committed Jul 9, 2017
1 parent b41c06d commit 67328e9
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
9 changes: 9 additions & 0 deletions API/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,15 @@
use Dfe\Salesforce\Settings\General as G;
// 2017-07-09
final class Client extends \Df\API\Client {
/**
* 2017-07-09
* @override
* @see \Df\API\Client::_construct()
* @used-by \Df\API\Client::__construct()
* @see \Df\ZohoBI\API\Client::_construct()
*/
final protected function _construct() {parent::_construct(); $this->addFilterJsonDecode();}

/**
* 2017-07-09
* Note 1.
Expand Down
2 changes: 1 addition & 1 deletion API/Facade.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ final class Facade {
* «You do not need authentication to retrieve the list of versions.»
* https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/dome_versions.htm
*/
function versions() {echo $this->p('services/data');}
function versions() {return $this->p('services/data');}

/**
* 2017-07-09
Expand Down
2 changes: 1 addition & 1 deletion T/Basic.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function t00() {}
* «You do not need authentication to retrieve the list of versions.»
* https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/dome_versions.htm
*/
function t01_versions() {echo F::s()->versions();}
function t01_versions() {echo df_json_encode(F::s()->versions());}

/**
* 2017-07-09
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mage2pro/salesforce"
,"version": "0.0.2"
,"version": "0.0.3"
,"description": "The «Salesforce» extension for Magento 2."
,"type": "magento2-module"
,"homepage": "https://mage2.pro/c/extensions/salesforce"
Expand Down

0 comments on commit 67328e9

Please sign in to comment.