Class: FSR::Model::Call

Inherits:
Object
  • Object
show all
Defined in:
lib/fsr/model/call.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(created, created_epoch, function, caller_cid_name, caller_cid_num, caller_dest_num, caller_chan_name, caller_uuid, callee_cid_name, callee_cid_num, callee_dest_num, callee_chan_name, callee_uuid) ⇒ Call

Returns a new instance of Call.



7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# File 'lib/fsr/model/call.rb', line 7

def initialize(created,
               created_epoch,
               function,
               caller_cid_name,
               caller_cid_num,
               caller_dest_num,
               caller_chan_name,
               caller_uuid,
               callee_cid_name,
               callee_cid_num,
               callee_dest_num,
               callee_chan_name,
               callee_uuid)
  @created,
  @created_epoch,
  @function,
  @caller_id_name,
  @caller_id_number,
  @caller_destination,
  @caller_chan_name,
  @caller_uuid,
  @callee_id_name,
  @callee_id_number,
  @callee_destination,
  @callee_channel_name,
  @callee_uuid = created, 
                 created_epoch,
                 function,
                 caller_cid_name,
                 caller_cid_num,
                 caller_dest_num,
                 caller_chan_name,
                 caller_uuid,
                 callee_cid_name,
                 callee_cid_num,
                 callee_dest_num,
                 callee_chan_name,
                 callee_uuid
end

Instance Attribute Details

#callee_channel_nameObject (readonly)

Returns the value of attribute callee_channel_name.



4
5
6
# File 'lib/fsr/model/call.rb', line 4

def callee_channel_name
  @callee_channel_name
end

#callee_destinationObject (readonly)

Returns the value of attribute callee_destination.



4
5
6
# File 'lib/fsr/model/call.rb', line 4

def callee_destination
  @callee_destination
end

#callee_id_nameObject (readonly)

Returns the value of attribute callee_id_name.



4
5
6
# File 'lib/fsr/model/call.rb', line 4

def callee_id_name
  @callee_id_name
end

#callee_id_numberObject (readonly)

Returns the value of attribute callee_id_number.



4
5
6
# File 'lib/fsr/model/call.rb', line 4

def callee_id_number
  @callee_id_number
end

#callee_uuidObject (readonly)

Returns the value of attribute callee_uuid.



4
5
6
# File 'lib/fsr/model/call.rb', line 4

def callee_uuid
  @callee_uuid
end

#caller_channel_nameObject (readonly)

Returns the value of attribute caller_channel_name.



4
5
6
# File 'lib/fsr/model/call.rb', line 4

def caller_channel_name
  @caller_channel_name
end

#caller_destinationObject (readonly)

Returns the value of attribute caller_destination.



4
5
6
# File 'lib/fsr/model/call.rb', line 4

def caller_destination
  @caller_destination
end

#caller_id_nameObject (readonly)

Returns the value of attribute caller_id_name.



4
5
6
# File 'lib/fsr/model/call.rb', line 4

def caller_id_name
  @caller_id_name
end

#caller_id_numberObject (readonly)

Returns the value of attribute caller_id_number.



4
5
6
# File 'lib/fsr/model/call.rb', line 4

def caller_id_number
  @caller_id_number
end

#caller_uuidObject (readonly)

Returns the value of attribute caller_uuid.



4
5
6
# File 'lib/fsr/model/call.rb', line 4

def caller_uuid
  @caller_uuid
end

#createdObject (readonly)

Returns the value of attribute created.



4
5
6
# File 'lib/fsr/model/call.rb', line 4

def created
  @created
end

#created_epochObject (readonly)

Returns the value of attribute created_epoch.



4
5
6
# File 'lib/fsr/model/call.rb', line 4

def created_epoch
  @created_epoch
end

#functionObject (readonly)

Returns the value of attribute function.



4
5
6
# File 'lib/fsr/model/call.rb', line 4

def function
  @function
end