Class: ActionTexter::TestResponse

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

Overview

Responses sent by #TestClient

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)

Returns the value of attribute cost.



8
9
10
# File 'lib/action_texter/test.rb', line 8

def cost
  @cost
end

#errorObject (readonly)

Returns the value of attribute error.



8
9
10
# File 'lib/action_texter/test.rb', line 8

def error
  @error
end

#partsObject (readonly)

Returns the value of attribute parts.



8
9
10
# File 'lib/action_texter/test.rb', line 8

def parts
  @parts
end

#parts_countObject (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

#referenceObject (readonly)

Returns the value of attribute reference.



8
9
10
# File 'lib/action_texter/test.rb', line 8

def reference
  @reference
end

#remaining_balanceObject (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