Class: Twilio::REST::Accounts::V1::AuthTokenPromotionInstanceMetadata
- Inherits:
-
InstanceResourceMetadata
- Object
- InstanceResourceMetadata
- Twilio::REST::Accounts::V1::AuthTokenPromotionInstanceMetadata
- Defined in:
- lib/twilio-ruby/rest/accounts/v1/auth_token_promotion.rb
Instance Method Summary collapse
- #auth_token_promotion ⇒ Object
- #headers ⇒ Object
-
#initialize(version, auth_token_promotion_instance, headers, status_code) ⇒ AuthTokenPromotionInstanceMetadata
constructor
Initializes a new AuthTokenPromotionInstanceMetadata.
- #status_code ⇒ Object
- #to_s ⇒ Object
Constructor Details
#initialize(version, auth_token_promotion_instance, headers, status_code) ⇒ AuthTokenPromotionInstanceMetadata
Initializes a new AuthTokenPromotionInstanceMetadata.
125 126 127 128 |
# File 'lib/twilio-ruby/rest/accounts/v1/auth_token_promotion.rb', line 125 def initialize(version, auth_token_promotion_instance, headers, status_code) super(version, headers, status_code) @auth_token_promotion_instance = auth_token_promotion_instance end |
Instance Method Details
#auth_token_promotion ⇒ Object
130 131 132 |
# File 'lib/twilio-ruby/rest/accounts/v1/auth_token_promotion.rb', line 130 def auth_token_promotion @auth_token_promotion_instance end |
#headers ⇒ Object
134 135 136 |
# File 'lib/twilio-ruby/rest/accounts/v1/auth_token_promotion.rb', line 134 def headers @headers end |
#status_code ⇒ Object
138 139 140 |
# File 'lib/twilio-ruby/rest/accounts/v1/auth_token_promotion.rb', line 138 def status_code @status_code end |
#to_s ⇒ Object
142 143 144 |
# File 'lib/twilio-ruby/rest/accounts/v1/auth_token_promotion.rb', line 142 def to_s "<Twilio.Api.V2010.AuthTokenPromotionInstanceMetadata status=#{@status_code}>" end |