Class: Phoneburner::Voicemail
- Inherits:
-
Model
- Object
- Model
- Phoneburner::Voicemail
show all
- Defined in:
- lib/phoneburner/voicemail.rb
Class Method Summary
collapse
Instance Method Summary
collapse
Methods inherited from Model
#<=>, #attribute_names, #attributes, #delete, extract_inner_results, extract_results, #initialize, #is_new?, #method_missing, #path, #refresh, #save, secondary_json_type, #to_json
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
in the class Phoneburner::Model
Class Method Details
.json_type ⇒ Object
8
9
10
|
# File 'lib/phoneburner/voicemail.rb', line 8
def self.json_type
"voicemails"
end
|
.path ⇒ Object
4
5
6
|
# File 'lib/phoneburner/voicemail.rb', line 4
def self.path
"/rest/1/voicemails/"
end
|
Instance Method Details
#id ⇒ Object
12
13
14
|
# File 'lib/phoneburner/voicemail.rb', line 12
def id
self.recording_id
end
|
#id=(i) ⇒ Object
16
17
18
|
# File 'lib/phoneburner/voicemail.rb', line 16
def id=(i)
self.recording_id = i
end
|