Exception: Ogc::Errors::ServiceError
- Defined in:
- lib/ogc/errors/service_error.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
Instance Method Summary collapse
-
#initialize(http_error) ⇒ ServiceError
constructor
A new instance of ServiceError.
Constructor Details
#initialize(http_error) ⇒ ServiceError
Returns a new instance of ServiceError.
8 9 10 11 |
# File 'lib/ogc/errors/service_error.rb', line 8 def initialize(http_error) super(http_error.) @code = http_error.code end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
6 7 8 |
# File 'lib/ogc/errors/service_error.rb', line 6 def code @code end |