Class: Twilio::REST::Lookups::V2::QueryInstance
- Inherits:
-
InstanceResource
- Object
- InstanceResource
- Twilio::REST::Lookups::V2::QueryInstance
- Defined in:
- lib/twilio-ruby/rest/lookups/v2/query.rb
Instance Method Summary collapse
-
#initialize(version, payload) ⇒ QueryInstance
constructor
Initialize the QueryInstance.
-
#inspect ⇒ Object
Provide a detailed, user friendly representation.
- #phone_numbers ⇒ Array<LookupBatchResponse>
-
#to_s ⇒ Object
Provide a user friendly representation.
Constructor Details
#initialize(version, payload) ⇒ QueryInstance
Initialize the QueryInstance
318 319 320 321 322 323 324 325 326 |
# File 'lib/twilio-ruby/rest/lookups/v2/query.rb', line 318 def initialize(version, payload ) super(version) # Marshaled Properties @properties = { 'phone_numbers' => payload['phone_numbers'], } end |
Instance Method Details
#inspect ⇒ Object
Provide a detailed, user friendly representation
343 344 345 |
# File 'lib/twilio-ruby/rest/lookups/v2/query.rb', line 343 def inspect "<Twilio.Lookups.V2.QueryInstance>" end |
#phone_numbers ⇒ Array<LookupBatchResponse>
331 332 333 |
# File 'lib/twilio-ruby/rest/lookups/v2/query.rb', line 331 def phone_numbers @properties['phone_numbers'] end |
#to_s ⇒ Object
Provide a user friendly representation
337 338 339 |
# File 'lib/twilio-ruby/rest/lookups/v2/query.rb', line 337 def to_s "<Twilio.Lookups.V2.QueryInstance>" end |