Exception: Mu::Curl::Error::Region

Inherits:
Mu::Curl::Error show all
Defined in:
lib/mu/curl/error.rb

Direct Known Subclasses

Connect, DNS, Status, Timeout

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#regionObject (readonly)

Returns the value of attribute region.



21
22
23
# File 'lib/mu/curl/error.rb', line 21

def region
  @region
end