class Aircall::Aircall

Attributes

id[RW]
token[RW]

Public Class Methods

new(args = {}) click to toggle source
# File lib/aircall.rb, line 17
def initialize(args = {})
  @id = args[:id]
  @token = args[:token]
end

Public Instance Methods

calls() click to toggle source
# File lib/aircall.rb, line 23
def calls
  @calls ||= Calls.new self
end
contacts() click to toggle source
# File lib/aircall.rb, line 27
def contacts
  @contacts ||= Contacts.new self
end
numbers() click to toggle source
# File lib/aircall.rb, line 35
def numbers
  @numbers ||= Numbers.new self
end
users() click to toggle source
# File lib/aircall.rb, line 31
def users
  @users ||= Users.new self
end