Skip to content

Commit

Permalink
Adding sandbox configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
davispeixoto committed Apr 24, 2014
1 parent 27c2030 commit 53af8e1
Show file tree
Hide file tree
Showing 4 changed files with 6,311 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ composer.lock
.settings
.buildpath
.project
.idea
2 changes: 1 addition & 1 deletion src/Davispeixoto/LaravelSalesforce/Salesforce.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public function __construct(Repository $configExternal)
{
try {
$this->sfh = new Client();
$this->sfh->createConnection(__DIR__.'/Wsdl/enterprise.wsdl.xml');
$this->sfh->createConnection(__DIR__.'/Wsdl/' . $configExternal->get('laravel-salesforce::wsdl'));
$this->sfh->login($configExternal->get('laravel-salesforce::username') , $configExternal->get('laravel-salesforce::password') . $configExternal->get('laravel-salesforce::token'));
return $this;
} catch (Exception $e) {
Expand Down
Loading

0 comments on commit 53af8e1

Please sign in to comment.