class Twilio::REST::Trusthub
Public Class Methods
Initialize the Trusthub
Domain
Twilio::REST::Domain::new
# File lib/twilio-ruby/rest/trusthub.rb 14 def initialize(twilio) 15 super 16 17 @base_url = 'https://trusthub.twilio.com' 18 @host = 'trusthub.twilio.com' 19 @port = 443 20 21 # Versions 22 @v1 = nil 23 end
Public Instance Methods
@param [String] sid The unique string that we created to identify the
Customer-Profile resource.
@return [Twilio::REST::Trusthub::V1::CustomerProfilesInstance] if sid was passed. @return [Twilio::REST::Trusthub::V1::CustomerProfilesList]
# File lib/twilio-ruby/rest/trusthub.rb 36 def customer_profiles(sid=:unset) 37 self.v1.customer_profiles(sid) 38 end
@param [String] sid The unique string that identifies the End-User Type
resource.
@return [Twilio::REST::Trusthub::V1::EndUserTypeInstance] if sid was passed. @return [Twilio::REST::Trusthub::V1::EndUserTypeList]
# File lib/twilio-ruby/rest/trusthub.rb 54 def end_user_types(sid=:unset) 55 self.v1.end_user_types(sid) 56 end
@param [String] sid The unique string created by Twilio
to identify the End User
resource.
@return [Twilio::REST::Trusthub::V1::EndUserInstance] if sid was passed. @return [Twilio::REST::Trusthub::V1::EndUserList]
# File lib/twilio-ruby/rest/trusthub.rb 45 def end_users(sid=:unset) 46 self.v1.end_users(sid) 47 end
@param [String] sid The unique string that identifies the Policy resource. @return [Twilio::REST::Trusthub::V1::PoliciesInstance] if sid was passed. @return [Twilio::REST::Trusthub::V1::PoliciesList]
# File lib/twilio-ruby/rest/trusthub.rb 62 def policies(sid=:unset) 63 self.v1.policies(sid) 64 end
@param [String] sid The unique string that identifies the Supporting Document
Type resource.
@return [Twilio::REST::Trusthub::V1::SupportingDocumentTypeInstance] if sid was passed. @return [Twilio::REST::Trusthub::V1::SupportingDocumentTypeList]
# File lib/twilio-ruby/rest/trusthub.rb 80 def supporting_document_types(sid=:unset) 81 self.v1.supporting_document_types(sid) 82 end
@param [String] sid The unique string created by Twilio
to identify the
Supporting Document resource.
@return [Twilio::REST::Trusthub::V1::SupportingDocumentInstance] if sid was passed. @return [Twilio::REST::Trusthub::V1::SupportingDocumentList]
# File lib/twilio-ruby/rest/trusthub.rb 71 def supporting_documents(sid=:unset) 72 self.v1.supporting_documents(sid) 73 end
Provide a user friendly representation
# File lib/twilio-ruby/rest/trusthub.rb 95 def to_s 96 '#<Twilio::REST::Trusthub>' 97 end
@param [String] sid The unique string that we created to identify the
Customer-Profile resource.
@return [Twilio::REST::Trusthub::V1::TrustProductsInstance] if sid was passed. @return [Twilio::REST::Trusthub::V1::TrustProductsList]
# File lib/twilio-ruby/rest/trusthub.rb 89 def trust_products(sid=:unset) 90 self.v1.trust_products(sid) 91 end
Version
v1 of trusthub
# File lib/twilio-ruby/rest/trusthub.rb 27 def v1 28 @v1 ||= V1.new self 29 end