Class: Twilio::REST::Lookups::V2::LookupOverrideListResponse
- Inherits:
-
InstanceListResource
- Object
- InstanceListResource
- Twilio::REST::Lookups::V2::LookupOverrideListResponse
- Defined in:
- lib/twilio-ruby/rest/lookups/v2/lookup_override.rb,
lib/twilio-ruby/rest/lookups/v2/lookup_override.rb
Instance Method Summary collapse
- #headers ⇒ Object
-
#initialize(version, payload, key, limit = :unset) ⇒ LookupOverrideListResponse
constructor
A new instance of LookupOverrideListResponse.
- #lookup_override ⇒ Object
- #lookup_override_instance ⇒ Object
- #status_code ⇒ Object
Constructor Details
#initialize(version, payload, key, limit = :unset) ⇒ LookupOverrideListResponse
Returns a new instance of LookupOverrideListResponse.
306 307 308 309 310 311 312 |
# File 'lib/twilio-ruby/rest/lookups/v2/lookup_override.rb', line 306 def initialize(version, payload, key) @lookup_override_instance = payload.body[key].map do |data| LookupOverrideInstance.new(version, data) end @headers = payload.headers @status_code = payload.status_code end |
Instance Method Details
#headers ⇒ Object
399 400 401 |
# File 'lib/twilio-ruby/rest/lookups/v2/lookup_override.rb', line 399 def headers @headers end |
#lookup_override ⇒ Object
395 396 397 |
# File 'lib/twilio-ruby/rest/lookups/v2/lookup_override.rb', line 395 def lookup_override @lookup_override end |
#lookup_override_instance ⇒ Object
314 315 316 |
# File 'lib/twilio-ruby/rest/lookups/v2/lookup_override.rb', line 314 def lookup_override_instance @instance end |
#status_code ⇒ Object
403 404 405 |
# File 'lib/twilio-ruby/rest/lookups/v2/lookup_override.rb', line 403 def status_code @status_code end |