Class: ActionTexter::NexmoResponse

Inherits:
Response
  • Object
show all
Defined in:
lib/action_texter/nexmo.rb

Overview

Nexmo response

Constant Summary collapse

SUCCESS_RESPONSE_CODE =
"0"

Instance Attribute Summary collapse

Attributes inherited from Response

#error_message, #raw, #success

Method Summary

Methods inherited from Response

#failed?, #initialize, #success?, #to_s

Constructor Details

This class inherits a constructor from ActionTexter::Response

Instance Attribute Details

#costObject (readonly)

TODO: Some of these should be moved to Response if they are common enough.



15
16
17
# File 'lib/action_texter/nexmo.rb', line 15

def cost
  @cost
end

#originalObject (readonly)

TODO: Some of these should be moved to Response if they are common enough.



15
16
17
# File 'lib/action_texter/nexmo.rb', line 15

def original
  @original
end

#partsObject (readonly)

TODO: Some of these should be moved to Response if they are common enough.



15
16
17
# File 'lib/action_texter/nexmo.rb', line 15

def parts
  @parts
end

#parts_countObject (readonly)

TODO: Some of these should be moved to Response if they are common enough.



15
16
17
# File 'lib/action_texter/nexmo.rb', line 15

def parts_count
  @parts_count
end

#referenceObject (readonly)

TODO: Some of these should be moved to Response if they are common enough.



15
16
17
# File 'lib/action_texter/nexmo.rb', line 15

def reference
  @reference
end

#remaining_balanceObject (readonly)

TODO: Some of these should be moved to Response if they are common enough.



15
16
17
# File 'lib/action_texter/nexmo.rb', line 15

def remaining_balance
  @remaining_balance
end