Class: Nifcloud::DNS::Response

Inherits:
Object
  • Object
show all
Defined in:
lib/nifcloud/dns/response.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(body, code, raw) ⇒ Response

Returns a new instance of Response.



4
5
6
7
8
# File 'lib/nifcloud/dns/response.rb', line 4

def initialize(body, code, raw)
  @body = body
  @code = code
  @raw = raw
end

Instance Attribute Details

#bodyObject (readonly)

Returns the value of attribute body.



10
11
12
# File 'lib/nifcloud/dns/response.rb', line 10

def body
  @body
end

#codeObject (readonly)

Returns the value of attribute code.



10
11
12
# File 'lib/nifcloud/dns/response.rb', line 10

def code
  @code
end

#rawObject (readonly)

Returns the value of attribute raw.



10
11
12
# File 'lib/nifcloud/dns/response.rb', line 10

def raw
  @raw
end