Class: ActionTexter::TestResponse
- Defined in:
- lib/action_texter/test.rb
Overview
Responses sent by #TestClient
Instance Attribute Summary collapse
-
#cost ⇒ Object
readonly
Returns the value of attribute cost.
-
#error ⇒ Object
readonly
Returns the value of attribute error.
-
#parts ⇒ Object
readonly
Returns the value of attribute parts.
-
#parts_count ⇒ Object
readonly
Returns the value of attribute parts_count.
-
#reference ⇒ Object
readonly
Returns the value of attribute reference.
-
#remaining_balance ⇒ Object
readonly
Returns the value of attribute remaining_balance.
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)
Returns the value of attribute cost.
8 9 10 |
# File 'lib/action_texter/test.rb', line 8 def cost @cost end |
#error ⇒ Object (readonly)
Returns the value of attribute error.
8 9 10 |
# File 'lib/action_texter/test.rb', line 8 def error @error end |
#parts ⇒ Object (readonly)
Returns the value of attribute parts.
8 9 10 |
# File 'lib/action_texter/test.rb', line 8 def parts @parts end |
#parts_count ⇒ Object (readonly)
Returns the value of attribute parts_count.
8 9 10 |
# File 'lib/action_texter/test.rb', line 8 def parts_count @parts_count end |
#reference ⇒ Object (readonly)
Returns the value of attribute reference.
8 9 10 |
# File 'lib/action_texter/test.rb', line 8 def reference @reference end |
#remaining_balance ⇒ Object (readonly)
Returns the value of attribute remaining_balance.
8 9 10 |
# File 'lib/action_texter/test.rb', line 8 def remaining_balance @remaining_balance end |