public static function deleteCoupon($couponCode, $client = null) { return Recurly_Base::_delete(Recurly_Coupon::uriForCoupon($couponCode), $client); }
public function testDeleteCoupon() { $this->client->addResponse('DELETE', '/coupons/special', 'coupons/destroy-204.xml'); Recurly_Coupon::deleteCoupon('special', $this->client); }