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