Example #1
0
 public static function delete($url, $obj = array())
 {
     return RestCurl::exec("DELETE", $url, $obj);
 }
Example #2
0
 public function customFieldsList()
 {
     $result = RestCurl::get(self::URL_PREFIX . $this->maropost_account_id . '/custom_fields/', array('auth_token' => $this->maropost_auth_token));
     $this->logger->debug('Response: ' . print_r($result, true));
     return $result['data'];
 }