Class: VoiceNotes::Resources::Notes
- Defined in:
- lib/voice_notes/resources/notes.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#find(id) ⇒ Hash
Retrieve a voice note by its short ID.
Methods inherited from Base
Constructor Details
This class inherits a constructor from VoiceNotes::Resources::Base
Instance Method Details
#find(id) ⇒ Hash
Retrieve a voice note by its short ID
9 10 11 |
# File 'lib/voice_notes/resources/notes.rb', line 9 def find(id) get("/api/v1/notes/#{id}") end |