class Spaceship::Tunes::PricingInfo

Attributes

country[RW]

@return (String) name of the country, e.g. “United States”

country_code[RW]

@return (String) country code, e.g. “US”

currency_code[RW]

@return (String) currency code, e.g. “USD”

currency_symbol[RW]

@return (String) currency symbol, e.g. “$”

f_retail_price[RW]

@return (String) formatted customer price, e.g. “$0.00”

f_wholesale_price[RW]

@return (String) formatted net proceedings, e.g. “$0.00”

retail_price[RW]

@return (Number) customer price

wholesale_price[RW]

@return (Number) net proceedings for the developer

Public Class Methods

factory(attrs) click to toggle source

Create a new object based on a hash. This is used to create a new object based on the server response.

# File lib/spaceship/tunes/pricing_tier.rb, line 74
def factory(attrs)
  obj = self.new(attrs)
  return obj
end