Class: Cufinder::CufResponse

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

Overview

Response types for each service

Instance Attribute Summary collapse

Attributes inherited from BaseResponse

#confidence_level, #credit_count, #meta_data, #query

Instance Method Summary collapse

Constructor Details

#initialize(data = {}) ⇒ CufResponse

Returns a new instance of CufResponse.



154
155
156
157
# File 'lib/cufinder_ruby/types.rb', line 154

def initialize(data = {})
  super(data)
  @domain = data["domain"]
end

Instance Attribute Details

#domainObject

Returns the value of attribute domain.



152
153
154
# File 'lib/cufinder_ruby/types.rb', line 152

def domain
  @domain
end