Sha256: 641e319c04e760d184ebf8c7ca936cd0df22b486c4aa8fdcb9202328973b04db

Contents?: true

Size: 970 Bytes

Versions: 7

Compression:

Stored size: 970 Bytes

Contents

##
# This code was generated by
# \ / _    _  _|   _  _
#  | (_)\/(_)(_|\/| |(/_  v1.0.0
#       /       /       

module Twilio
  module REST
    class IpMessaging
      class V1 < Version
        ##
        # Initialize the V1 version of IpMessaging
        def initialize(domain)
          super
          @version = 'v1'
          @credentials = nil
          @services = nil
        end
        
        def credentials(sid=:unset)
          if sid == :unset
            @credentials ||= CredentialList.new self
          else
            CredentialContext.new(self, sid)
          end
        end
        
        def services(sid=:unset)
          if sid == :unset
            @services ||= ServiceList.new self
          else
            ServiceContext.new(self, sid)
          end
        end
        
        ##
        # Provide a user friendly representation
        def to_s
          #<Twilio::REST::IpMessaging::V1>
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
twilio-ruby-5.0.0.rc9 lib/twilio-ruby/rest/ip_messaging/v1.rb
twilio-ruby-5.0.0.rc8 lib/twilio-ruby/rest/ip_messaging/v1.rb
twilio-ruby-5.0.0.rc7 lib/twilio-ruby/rest/ip_messaging/v1.rb
twilio-ruby-5.0.0.rc5 lib/twilio-ruby/rest/ip_messaging/v1.rb
twilio-ruby-5.0.0.rc4 lib/twilio-ruby/rest/ip_messaging/v1.rb
twilio-ruby-5.0.0.rc3 lib/twilio-ruby/rest/ip_messaging/v1.rb
twilio-ruby-5.0.0.rc2 lib/twilio-ruby/rest/ip_messaging/v1.rb