Class: ActionTexter::TwilioResponse

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

Overview

Twilio response

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.


13
14
15
# File 'lib/action_texter/twilio.rb', line 13

def cost
  @cost
end

#originalObject (readonly)

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


13
14
15
# File 'lib/action_texter/twilio.rb', line 13

def original
  @original
end

#parts_countObject (readonly)

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


13
14
15
# File 'lib/action_texter/twilio.rb', line 13

def parts_count
  @parts_count
end

#referenceObject (readonly)

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


13
14
15
# File 'lib/action_texter/twilio.rb', line 13

def reference
  @reference
end