Method: Twilio::REST::Preview::Wireless::RatePlanContext#fetch
- Defined in:
- lib/twilio-ruby/rest/preview/wireless/rate_plan.rb
#fetch ⇒ RatePlanInstance
Fetch the RatePlanInstance
314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 |
# File 'lib/twilio-ruby/rest/preview/wireless/rate_plan.rb', line 314 def fetch headers = Twilio::Values.of({'Content-Type' => 'application/x-www-form-urlencoded', }) payload = @version.fetch('GET', @uri, headers: headers) RatePlanInstance.new( @version, payload, sid: @solution[:sid], ) end |