class Twilio::REST::Numbers::V2::RegulatoryComplianceList::BundlePage
Public Class Methods
new(version, response, solution)
click to toggle source
Initialize the BundlePage
@param [Version] version Version
that contains the resource @param [Response] response Response
from the API @param [Hash] solution Path solution for the resource @return [BundlePage] BundlePage
Calls superclass method
Twilio::REST::Page::new
# File lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle.rb 201 def initialize(version, response, solution) 202 super(version, response) 203 204 # Path Solution 205 @solution = solution 206 end
Public Instance Methods
get_instance(payload)
click to toggle source
Build an instance of BundleInstance
@param [Hash] payload Payload response from the API @return [BundleInstance] BundleInstance
# File lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle.rb 212 def get_instance(payload) 213 BundleInstance.new(@version, payload, ) 214 end
to_s()
click to toggle source
Provide a user friendly representation
# File lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/bundle.rb 218 def to_s 219 '<Twilio.Numbers.V2.BundlePage>' 220 end