Class: MessageBird::Voice::CallLeg

Inherits:
Base
  • Object
show all
Defined in:
lib/messagebird/voice/call_leg.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#handle_links, #initialize

Methods inherited from Base

#initialize, #map_hash_elements_to_self, #value_to_time

Constructor Details

This class inherits a constructor from MessageBird::Voice::Base

Instance Attribute Details

#answered_atObject

Returns the value of attribute answered_at.



8
9
10
# File 'lib/messagebird/voice/call_leg.rb', line 8

def answered_at
  @answered_at
end

#call_idObject

Returns the value of attribute call_id.



8
9
10
# File 'lib/messagebird/voice/call_leg.rb', line 8

def call_id
  @call_id
end

#costObject

Returns the value of attribute cost.



8
9
10
# File 'lib/messagebird/voice/call_leg.rb', line 8

def cost
  @cost
end

#created_atObject

Returns the value of attribute created_at.



8
9
10
# File 'lib/messagebird/voice/call_leg.rb', line 8

def created_at
  @created_at
end

#currencyObject

Returns the value of attribute currency.



8
9
10
# File 'lib/messagebird/voice/call_leg.rb', line 8

def currency
  @currency
end

#destinationObject

Returns the value of attribute destination.



8
9
10
# File 'lib/messagebird/voice/call_leg.rb', line 8

def destination
  @destination
end

#directionObject

Returns the value of attribute direction.



8
9
10
# File 'lib/messagebird/voice/call_leg.rb', line 8

def direction
  @direction
end

#durationObject

Returns the value of attribute duration.



8
9
10
# File 'lib/messagebird/voice/call_leg.rb', line 8

def duration
  @duration
end

#ended_atObject

Returns the value of attribute ended_at.



8
9
10
# File 'lib/messagebird/voice/call_leg.rb', line 8

def ended_at
  @ended_at
end

#idObject

Returns the value of attribute id.



8
9
10
# File 'lib/messagebird/voice/call_leg.rb', line 8

def id
  @id
end

#sourceObject

Returns the value of attribute source.



8
9
10
# File 'lib/messagebird/voice/call_leg.rb', line 8

def source
  @source
end

#statusObject

Returns the value of attribute status.



8
9
10
# File 'lib/messagebird/voice/call_leg.rb', line 8

def status
  @status
end

#updated_atObject

Returns the value of attribute updated_at.



8
9
10
# File 'lib/messagebird/voice/call_leg.rb', line 8

def updated_at
  @updated_at
end