lib/twilio-ruby/rest/trunking_client.rb in twilio-ruby-4.6.2 vs lib/twilio-ruby/rest/trunking_client.rb in twilio-ruby-4.7.0.edge
- old
+ new
@@ -87,12 +87,12 @@
end
protected
##
- # Set up +trunks+ attribute.
+ # Set up +voice+ and +phone_numbers+ attributes.
def set_up_subresources # :doc:
- @trunks = Twilio::REST::Trunking::Trunks.new "/#{API_VERSION}/Trunks", self
+ @voice = Twilio::REST::Trunking::Trunks.new "/#{API_VERSION}/Trunks", self
end
##
# Builds up full request path
def build_full_path(path, params, method)