Class: Twilio::REST::Pricing::V2::VoiceList::CountryInstanceMetadata
- Inherits:
-
InstanceResourceMetadata
- Object
- InstanceResourceMetadata
- Twilio::REST::Pricing::V2::VoiceList::CountryInstanceMetadata
- Defined in:
- lib/twilio-ruby/rest/pricing/v2/voice/country.rb
Instance Method Summary collapse
- #country ⇒ Object
- #headers ⇒ Object
-
#initialize(version, country_instance, headers, status_code) ⇒ CountryInstanceMetadata
constructor
Initializes a new CountryInstanceMetadata.
- #status_code ⇒ Object
- #to_s ⇒ Object
Constructor Details
#initialize(version, country_instance, headers, status_code) ⇒ CountryInstanceMetadata
Initializes a new CountryInstanceMetadata.
239 240 241 242 |
# File 'lib/twilio-ruby/rest/pricing/v2/voice/country.rb', line 239 def initialize(version, country_instance, headers, status_code) super(version, headers, status_code) @country_instance = country_instance end |
Instance Method Details
#country ⇒ Object
244 245 246 |
# File 'lib/twilio-ruby/rest/pricing/v2/voice/country.rb', line 244 def country @country_instance end |
#headers ⇒ Object
248 249 250 |
# File 'lib/twilio-ruby/rest/pricing/v2/voice/country.rb', line 248 def headers @headers end |
#status_code ⇒ Object
252 253 254 |
# File 'lib/twilio-ruby/rest/pricing/v2/voice/country.rb', line 252 def status_code @status_code end |
#to_s ⇒ Object
256 257 258 |
# File 'lib/twilio-ruby/rest/pricing/v2/voice/country.rb', line 256 def to_s "<Twilio.Api.V2010.CountryInstanceMetadata status=#{@status_code}>" end |