Module: Twilio::Deletable

Included in:
Application, IncomingPhoneNumber, Notification, OutgoingCallerId, Participant, Queue, Recording
Defined in:
lib/twilio/deletable.rb

Instance Method Summary collapse

Instance Method Details

#destroyObject



3
4
5
6
# File 'lib/twilio/deletable.rb', line 3

def destroy
   = self[:account_sid] if self[:connect_app_sid]
  state_guard { freeze && true if self.class.delete path, :account_sid =>  }
end