Exception: TropoError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- TropoError
- Defined in:
- lib/tropo-provisioning/tropo_error.rb
Overview
Models an error while accessing the Tropo provisioning API
Instance Attribute Summary collapse
-
#http_status ⇒ Object
readonly
Returns the value of attribute http_status.
Instance Method Summary collapse
-
#initialize(http_status = '500') ⇒ TropoError
constructor
Initializer.
Constructor Details
#initialize(http_status = '500') ⇒ TropoError
Initializer
9 10 11 |
# File 'lib/tropo-provisioning/tropo_error.rb', line 9 def initialize(http_status = '500') @http_status = http_status end |
Instance Attribute Details
#http_status ⇒ Object (readonly)
Returns the value of attribute http_status.
5 6 7 |
# File 'lib/tropo-provisioning/tropo_error.rb', line 5 def http_status @http_status end |