class SuperReceptionist::Call

Public Class Methods

new(super_receptionist) click to toggle source
# File lib/super_receptionist/call.rb, line 3
def initialize(super_receptionist)
  @super_receptionis = super_receptionist
end

Public Instance Methods

logs(options = {}) click to toggle source
# File lib/super_receptionist/call.rb, line 7
def logs(options = {})
  SuperReceptionist.submit(:get,call_url('call'), options)
end
makecall(options = {}) click to toggle source
# File lib/super_receptionist/call.rb, line 11
def makecall(options = {})
  SuperReceptionist.submit(:post,call_url('account/call/makecall'), options)
end

Private Instance Methods

call_url(path) click to toggle source
# File lib/super_receptionist/call.rb, line 17
def call_url(path)
  @super_receptionis.base_url + path
end