Class: DingSDK::Shared::LookupResponse
- Inherits:
-
Utils::FieldAugmented
- Object
- Utils::FieldAugmented
- DingSDK::Shared::LookupResponse
- Extended by:
- T::Sig
- Defined in:
- lib/ding_sdk/models/shared/lookupresponse.rb
Instance Method Summary collapse
-
#initialize(carrier: nil, country_code: nil, line_type: nil, mcc: nil, mnc: nil, number_ported: nil, phone_number: nil) ⇒ LookupResponse
constructor
A new instance of LookupResponse.
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.
31 32 33 34 35 36 37 38 39 |
# File 'lib/ding_sdk/models/shared/lookupresponse.rb', line 31 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 |