Class: ActionTexter::NexmoResponse
- Defined in:
- lib/action_texter/nexmo.rb
Overview
Nexmo response
Constant Summary collapse
- SUCCESS_RESPONSE_CODE =
"0"
Instance Attribute Summary collapse
-
#cost ⇒ Object
readonly
TODO: Some of these should be moved to Response if they are common enough.
-
#original ⇒ Object
readonly
TODO: Some of these should be moved to Response if they are common enough.
-
#parts ⇒ Object
readonly
TODO: Some of these should be moved to Response if they are common enough.
-
#parts_count ⇒ Object
readonly
TODO: Some of these should be moved to Response if they are common enough.
-
#reference ⇒ Object
readonly
TODO: Some of these should be moved to Response if they are common enough.
-
#remaining_balance ⇒ Object
readonly
TODO: Some of these should be moved to Response if they are common enough.
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
#cost ⇒ Object (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 |
#original ⇒ Object (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 |
#parts ⇒ Object (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_count ⇒ Object (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 |
#reference ⇒ Object (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_balance ⇒ Object (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 |