Class: Twilio::REST::PreviewIam::V1::AuthorizeInstance
- Inherits:
-
InstanceResource
- Object
- InstanceResource
- Twilio::REST::PreviewIam::V1::AuthorizeInstance
- Defined in:
- lib/twilio-ruby/rest/preview_iam/v1/authorize.rb
Instance Method Summary collapse
-
#initialize(version, payload) ⇒ AuthorizeInstance
constructor
Initialize the AuthorizeInstance.
-
#inspect ⇒ Object
Provide a detailed, user friendly representation.
-
#redirect_to ⇒ String
The callback URL.
-
#to_s ⇒ Object
Provide a user friendly representation.
Constructor Details
#initialize(version, payload) ⇒ AuthorizeInstance
Initialize the AuthorizeInstance
116 117 118 119 120 121 122 123 |
# File 'lib/twilio-ruby/rest/preview_iam/v1/authorize.rb', line 116 def initialize(version, payload ) super(version) # Marshaled Properties @properties = { 'redirect_to' => payload['redirect_to'], } end |
Instance Method Details
#inspect ⇒ Object
Provide a detailed, user friendly representation
140 141 142 |
# File 'lib/twilio-ruby/rest/preview_iam/v1/authorize.rb', line 140 def inspect "<Twilio.PreviewIam.V1.AuthorizeInstance>" end |
#redirect_to ⇒ String
Returns The callback URL.
128 129 130 |
# File 'lib/twilio-ruby/rest/preview_iam/v1/authorize.rb', line 128 def redirect_to @properties['redirect_to'] end |
#to_s ⇒ Object
Provide a user friendly representation
134 135 136 |
# File 'lib/twilio-ruby/rest/preview_iam/v1/authorize.rb', line 134 def to_s "<Twilio.PreviewIam.V1.AuthorizeInstance>" end |