Sha256: 9cd447fec7a3b6ad3105d8652d6116a02d2568e2a936bb8ad9dc216b28e57d54
Contents?: true
Size: 898 Bytes
Versions: 1
Compression:
Stored size: 898 Bytes
Contents
= app_store_pricing_matrix A simple module that holds currencies and prices from the Apple's iOS App Store. == Install gem install app_store_pricing_matrix == Usage Some constants: AppStorePricingMatrix::CUSTOMER_CURRENCIES => ["USD", "MXN", "CAD", "AUD", "NZD", "JPY", "EUR", "DKK", "NOK", "SEK", "CHF", "GBP"] AppStorePricingMatrix::DEVELOPER_CURRENCIES => ["USD", "CAD", "AUD", "JPY", "EUR", "GBP"] To retrieve a customer price, query with the currency and the tier number: AppStorePricingMatrix::CUSTOMER_PRICES['USD'][1] => "0.99" AppStorePricingMatrix::CUSTOMER_PRICES['JPY'][1] => "115" For developer proceeds: AppStorePricingMatrix::DEVELOPER_PROCEEDS['GBP'][30] => "10.95" To retrieve a developer currency from a given customer currency: AppStorePricingMatrix::REVERSE_CURRENCY_MAP['MXN'] => "USD" AppStorePricingMatrix::REVERSE_CURRENCY_MAP['DKK'] => "EUR"
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
app_store_pricing_matrix-1.0.0 | README.rdoc |