Exception: Mu::Curl::Error::Authorize
- Inherits:
-
Mu::Curl::Error
- Object
- StandardError
- Mu::Curl::Error
- Mu::Curl::Error::Authorize
- Defined in:
- lib/mu/curl/error.rb
Instance Attribute Summary collapse
-
#host ⇒ Object
readonly
Returns the value of attribute host.
-
#port ⇒ Object
readonly
Returns the value of attribute port.
-
#scheme ⇒ Object
readonly
Returns the value of attribute scheme.
-
#uuid ⇒ Object
readonly
Returns the value of attribute uuid.
Instance Method Summary collapse
-
#initialize(json) ⇒ Authorize
constructor
A new instance of Authorize.
Constructor Details
#initialize(json) ⇒ Authorize
Returns a new instance of Authorize.
11 12 13 14 15 16 17 |
# File 'lib/mu/curl/error.rb', line 11 def initialize json @scheme = json['scheme'] @host = json['host'] @port = json['port'] @uuid = json['uuid'] super end |
Instance Attribute Details
#host ⇒ Object (readonly)
Returns the value of attribute host.
9 10 11 |
# File 'lib/mu/curl/error.rb', line 9 def host @host end |
#port ⇒ Object (readonly)
Returns the value of attribute port.
9 10 11 |
# File 'lib/mu/curl/error.rb', line 9 def port @port end |
#scheme ⇒ Object (readonly)
Returns the value of attribute scheme.
9 10 11 |
# File 'lib/mu/curl/error.rb', line 9 def scheme @scheme end |
#uuid ⇒ Object (readonly)
Returns the value of attribute uuid.
9 10 11 |
# File 'lib/mu/curl/error.rb', line 9 def uuid @uuid end |