Class: Cufinder::NtpResponse

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 = {}) ⇒ NtpResponse

Returns a new instance of NtpResponse.



190
191
192
193
# File 'lib/cufinder_ruby/types.rb', line 190

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

Instance Attribute Details

#phonesObject

Returns the value of attribute phones.



188
189
190
# File 'lib/cufinder_ruby/types.rb', line 188

def phones
  @phones
end