Closed ueki-hikonuki closed 4 years ago
I can create a deal with the following class.
class Deal < ZohoHub::BaseRecord attributes :id, :deal_name, :account_name, :amount, :closing_date, :stage, :contact_name, :description, :notes end
However, I am not sure how to delete a deal.
Deal.delete(deal_id) does not seem to be working.
Thank you.
The deletion is not handled yet. There is an open PR #52 for that. If/when it is merged, you'll be able to call Deal.delete_record(deal_id) or deal.delete_record.
Deal.delete_record(deal_id)
deal.delete_record
I see. Thank you.
I can create a deal with the following class.
class Deal < ZohoHub::BaseRecord attributes :id, :deal_name, :account_name, :amount, :closing_date, :stage, :contact_name, :description, :notes end
However, I am not sure how to delete a deal.
Deal.delete(deal_id) does not seem to be working.
Thank you.