Exception: Mu::Curl::Error::Authorize

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

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#hostObject (readonly)

Returns the value of attribute host.



9
10
11
# File 'lib/mu/curl/error.rb', line 9

def host
  @host
end

#portObject (readonly)

Returns the value of attribute port.



9
10
11
# File 'lib/mu/curl/error.rb', line 9

def port
  @port
end

#schemeObject (readonly)

Returns the value of attribute scheme.



9
10
11
# File 'lib/mu/curl/error.rb', line 9

def scheme
  @scheme
end

#uuidObject (readonly)

Returns the value of attribute uuid.



9
10
11
# File 'lib/mu/curl/error.rb', line 9

def uuid
  @uuid
end