public static function delete($url, $obj = array()) { return RestCurl::exec("DELETE", $url, $obj); }
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']; }