Class: DingSDK::Shared::LookupResponse

Inherits:
Utils::FieldAugmented show all
Extended by:
T::Sig
Defined in:
lib/ding/models/shared/lookupresponse.rb

Instance Method Summary collapse

Methods included from MetadataFields

#field, #fields, included, #marshal_json, #marshal_single

Constructor Details

#initialize(carrier: nil, country_code: nil, line_type: nil, mcc: nil, mnc: nil, number_ported: nil, phone_number: nil) ⇒ LookupResponse

Returns a new instance of LookupResponse.



50
51
52
53
54
55
56
57
58
# File 'lib/ding/models/shared/lookupresponse.rb', line 50

def initialize(carrier: nil, country_code: nil, line_type: nil, mcc: nil, mnc: nil, number_ported: nil, phone_number: nil)
  @carrier = carrier
  @country_code = country_code
  @line_type = line_type
  @mcc = mcc
  @mnc = mnc
  @number_ported = number_ported
  @phone_number = phone_number
end