Exception: Mu::Curl::Error::Region
- Inherits:
-
Mu::Curl::Error
- Object
- StandardError
- Mu::Curl::Error
- Mu::Curl::Error::Region
- Defined in:
- lib/mu/curl/error.rb
Instance Attribute Summary collapse
-
#region ⇒ Object
readonly
Returns the value of attribute region.
Instance Method Summary collapse
-
#initialize(json) ⇒ Region
constructor
A new instance of Region.
Constructor Details
#initialize(json) ⇒ Region
Returns a new instance of Region.
23 24 25 26 |
# File 'lib/mu/curl/error.rb', line 23 def initialize json @region = json['region'] super end |
Instance Attribute Details
#region ⇒ Object (readonly)
Returns the value of attribute region.
21 22 23 |
# File 'lib/mu/curl/error.rb', line 21 def region @region end |