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.
139 140 141 142 |
# File 'lib/twilio-ruby/rest/accounts/v1/auth_token_promotion.rb', line 139 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
144 145 146 |
# File 'lib/twilio-ruby/rest/accounts/v1/auth_token_promotion.rb', line 144 def auth_token_promotion @auth_token_promotion_instance end |
#headers ⇒ Object
148 149 150 |
# File 'lib/twilio-ruby/rest/accounts/v1/auth_token_promotion.rb', line 148 def headers @headers end |
#status_code ⇒ Object
152 153 154 |
# File 'lib/twilio-ruby/rest/accounts/v1/auth_token_promotion.rb', line 152 def status_code @status_code end |
#to_s ⇒ Object
156 157 158 |
# File 'lib/twilio-ruby/rest/accounts/v1/auth_token_promotion.rb', line 156 def to_s "<Twilio.Api.V2010.AuthTokenPromotionInstanceMetadata status=#{@status_code}>" end |