Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

24 lines (19 sloc) 0.515 kb

v.0.1

Include the connector service in the own service

services:
...
...
    example.ducksboard:
        class: SFM\DucksboardBundle\Adapter\Widget
        arguments: [@sfm.ducksboard.connector]  
        calls:
            - [setApiKey, [%ducksboard_api%]]

The push and pull methods dont return data. The correct way to obtain the response is this:

   ...
   $widgetActualData = $widget->getArrayResponse();          
   //or
   $widgetActualData = $widget->getRawResponse();            
Jump to Line
Something went wrong with that request. Please try again.