Class: SuperReceptionist::Sound
- Inherits:
-
Object
- Object
- SuperReceptionist::Sound
- Defined in:
- lib/super_receptionist/sound.rb
Instance Method Summary collapse
- #create(options = {}) ⇒ Object
-
#initialize(super_receptionist) ⇒ Sound
constructor
A new instance of Sound.
- #list ⇒ Object
Constructor Details
#initialize(super_receptionist) ⇒ Sound
Returns a new instance of Sound.
3 4 5 |
# File 'lib/super_receptionist/sound.rb', line 3 def initialize(super_receptionist) @super_receptionis = super_receptionist end |
Instance Method Details
#create(options = {}) ⇒ Object
11 12 13 |
# File 'lib/super_receptionist/sound.rb', line 11 def create( = {}) SuperReceptionist.submit(:post, url, ) end |
#list ⇒ Object
7 8 9 |
# File 'lib/super_receptionist/sound.rb', line 7 def list SuperReceptionist.submit(:get, url) end |