Class: FSR::App::Hangup
- Inherits:
-
Application
- Object
- Application
- FSR::App::Hangup
- Defined in:
- lib/fsr/app/hangup.rb
Overview
Instance Method Summary collapse
- #arguments ⇒ Object
-
#initialize(cause = nil) ⇒ Hangup
constructor
A new instance of Hangup.
Methods inherited from Application
#app_name, #raw, #sendmsg, #to_s
Constructor Details
#initialize(cause = nil) ⇒ Hangup
Returns a new instance of Hangup.
6 7 8 |
# File 'lib/fsr/app/hangup.rb', line 6 def initialize(cause = nil) @cause = cause end |
Instance Method Details
#arguments ⇒ Object
10 11 12 |
# File 'lib/fsr/app/hangup.rb', line 10 def arguments [@cause] end |