Class: BoundioV2::Application
- Inherits:
-
Thor
- Object
- Thor
- BoundioV2::Application
- Defined in:
- lib/boundioV2/application.rb
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
5 6 7 8 |
# File 'lib/boundioV2/application.rb', line 5 def call call = Call.create() puts call.id end |
#file ⇒ Object
22 23 24 25 |
# File 'lib/boundioV2/application.rb', line 22 def file file = AudioFile.create([:file] ? {:file => File.new([:file], "rb")} : ) puts file.id end |
#status ⇒ Object
12 13 14 15 16 17 18 |
# File 'lib/boundioV2/application.rb', line 12 def status if [:tel_id] puts TelStatus.find([:tel_id]) else puts TelStatus.find_all() end end |