Class: Twilio::REST::Numbers::V2::BundleCloneListResponse
- Inherits:
-
InstanceListResource
- Object
- InstanceListResource
- Twilio::REST::Numbers::V2::BundleCloneListResponse
- Defined in:
- lib/twilio-ruby/rest/numbers/v2/bundle_clone.rb,
lib/twilio-ruby/rest/numbers/v2/bundle_clone.rb
Instance Method Summary collapse
- #bundle_clone ⇒ Object
- #bundle_clone_instance ⇒ Object
- #headers ⇒ Object
-
#initialize(version, payload, key, limit = :unset) ⇒ BundleCloneListResponse
constructor
A new instance of BundleCloneListResponse.
- #status_code ⇒ Object
Constructor Details
#initialize(version, payload, key, limit = :unset) ⇒ BundleCloneListResponse
180 181 182 183 184 185 186 |
# File 'lib/twilio-ruby/rest/numbers/v2/bundle_clone.rb', line 180 def initialize(version, payload, key) @bundle_clone_instance = payload.body[key].map do |data| BundleCloneInstance.new(version, data) end @headers = payload.headers @status_code = payload.status_code end |
Instance Method Details
#bundle_clone ⇒ Object
269 270 271 |
# File 'lib/twilio-ruby/rest/numbers/v2/bundle_clone.rb', line 269 def bundle_clone @bundle_clone end |
#bundle_clone_instance ⇒ Object
188 189 190 |
# File 'lib/twilio-ruby/rest/numbers/v2/bundle_clone.rb', line 188 def bundle_clone_instance @instance end |
#headers ⇒ Object
273 274 275 |
# File 'lib/twilio-ruby/rest/numbers/v2/bundle_clone.rb', line 273 def headers @headers end |
#status_code ⇒ Object
277 278 279 |
# File 'lib/twilio-ruby/rest/numbers/v2/bundle_clone.rb', line 277 def status_code @status_code end |