Exception: OpenShift::GearsException
- Inherits:
-
Exception
- Object
- Exception
- OpenShift::GearsException
- Defined in:
- lib/openshift-origin-common/exceptions/oo_exception.rb
Instance Attribute Summary collapse
-
#exception ⇒ Object
Returns the value of attribute exception.
-
#failed ⇒ Object
Returns the value of attribute failed.
-
#successful ⇒ Object
Returns the value of attribute successful.
Instance Method Summary collapse
-
#initialize(successful = nil, failed = nil, exception = nil) ⇒ GearsException
constructor
A new instance of GearsException.
Constructor Details
#initialize(successful = nil, failed = nil, exception = nil) ⇒ GearsException
Returns a new instance of GearsException.
24 25 26 27 28 |
# File 'lib/openshift-origin-common/exceptions/oo_exception.rb', line 24 def initialize(successful=nil, failed=nil, exception=nil) @successful = successful @failed = failed @exception = exception end |
Instance Attribute Details
#exception ⇒ Object
Returns the value of attribute exception.
22 23 24 |
# File 'lib/openshift-origin-common/exceptions/oo_exception.rb', line 22 def exception @exception end |
#failed ⇒ Object
Returns the value of attribute failed.
22 23 24 |
# File 'lib/openshift-origin-common/exceptions/oo_exception.rb', line 22 def failed @failed end |
#successful ⇒ Object
Returns the value of attribute successful.
22 23 24 |
# File 'lib/openshift-origin-common/exceptions/oo_exception.rb', line 22 def successful @successful end |