Class: Spaceship::Tunes::PricingTier
- Defined in:
- spaceship/lib/spaceship/tunes/pricing_tier.rb
Instance Attribute Summary collapse
-
#pricing_info ⇒ Array of Spaceship::Tunes::PricingInfo objects
A list of all prices for the respective countries.
-
#tier_name ⇒ String
Name of the tier (e.g. “Free” for Tier 0).
-
#tier_stem ⇒ String
Number of the price Tier (e.g. “0” for Tier 0 aka Free).
Attributes inherited from Base
Method Summary
Methods inherited from TunesBase
Methods inherited from Base
attr_accessor, attr_mapping, attributes, #attributes, factory, #initialize, #inspect, mapping_module, method_missing, set_client, #setup, #to_s
Constructor Details
This class inherits a constructor from Spaceship::Base
Instance Attribute Details
#pricing_info ⇒ Array of Spaceship::Tunes::PricingInfo objects
Returns A list of all prices for the respective countries.
13 14 15 |
# File 'spaceship/lib/spaceship/tunes/pricing_tier.rb', line 13 def pricing_info @pricing_info end |
#tier_name ⇒ String
Returns Name of the tier (e.g. “Free” for Tier 0).
10 11 12 |
# File 'spaceship/lib/spaceship/tunes/pricing_tier.rb', line 10 def tier_name @tier_name end |
#tier_stem ⇒ String
Returns Number of the price Tier (e.g. “0” for Tier 0 aka Free).
7 8 9 |
# File 'spaceship/lib/spaceship/tunes/pricing_tier.rb', line 7 def tier_stem @tier_stem end |