class Nexmo::Voice::Calls

Constants

RELATIVE_URL

Attributes

client[RW]

Public Class Methods

new(client = nil) click to toggle source
# File lib/nexmo/voice/calls.rb, line 7
def initialize(client = nil)
  raise "Can't create a call without Client" unless client
  @client = client
end

Public Instance Methods

create(entity = {}) click to toggle source
# File lib/nexmo/voice/calls.rb, line 12
def create(entity = {})
  @client.get(self, entity)
end