Class: VoiceML::PricingProduct
- Inherits:
-
Object
- Object
- VoiceML::PricingProduct
- Defined in:
- lib/voiceml/resources/pricing.rb
Overview
A pricing product group exposing .countries and optionally .numbers.
Instance Attribute Summary collapse
-
#countries ⇒ Object
readonly
Returns the value of attribute countries.
-
#numbers ⇒ Object
readonly
Returns the value of attribute numbers.
Instance Method Summary collapse
-
#initialize(countries, numbers = nil) ⇒ PricingProduct
constructor
A new instance of PricingProduct.
Constructor Details
#initialize(countries, numbers = nil) ⇒ PricingProduct
Returns a new instance of PricingProduct.
37 38 39 40 |
# File 'lib/voiceml/resources/pricing.rb', line 37 def initialize(countries, numbers = nil) @countries = countries @numbers = numbers end |
Instance Attribute Details
#countries ⇒ Object (readonly)
Returns the value of attribute countries.
35 36 37 |
# File 'lib/voiceml/resources/pricing.rb', line 35 def countries @countries end |
#numbers ⇒ Object (readonly)
Returns the value of attribute numbers.
35 36 37 |
# File 'lib/voiceml/resources/pricing.rb', line 35 def numbers @numbers end |