Class: Cufinder::EppResponse

Inherits:
BaseResponse show all
Defined in:
lib/cufinder_ruby/types.rb

Instance Attribute Summary collapse

Attributes inherited from BaseResponse

#confidence_level, #credit_count, #meta_data, #query

Instance Method Summary collapse

Constructor Details

#initialize(data = {}) ⇒ EppResponse

Returns a new instance of EppResponse.



363
364
365
366
# File 'lib/cufinder_ruby/types.rb', line 363

def initialize(data = {})
  super(data)
  @person = data["person"] ? EppPerson.new(data["person"]) : nil
end

Instance Attribute Details

#personObject

Returns the value of attribute person.



361
362
363
# File 'lib/cufinder_ruby/types.rb', line 361

def person
  @person
end