class FastSpring::LocalizedStorePrice

Attributes

product[R]

Public Class Methods

new(product, params) click to toggle source
# File lib/fastspring-saasy/localized_store_price.rb, line 5
def initialize(product, params)
  @product = product
  @params = params
end

Public Instance Methods

fetch(key) click to toggle source
# File lib/fastspring-saasy/localized_store_price.rb, line 34
def fetch(key)
  @params["#{product}_#{key}"]
end
path() click to toggle source
# File lib/fastspring-saasy/localized_store_price.rb, line 10
def path
  fetch('path')
end
quantity() click to toggle source
# File lib/fastspring-saasy/localized_store_price.rb, line 14
def quantity
  fetch('quantity')
end
unit_currency() click to toggle source
# File lib/fastspring-saasy/localized_store_price.rb, line 22
def unit_currency
  fetch('unit_currency')
end
unit_display() click to toggle source
# File lib/fastspring-saasy/localized_store_price.rb, line 26
def unit_display
  fetch('unit_display')
end
unit_html() click to toggle source
# File lib/fastspring-saasy/localized_store_price.rb, line 30
def unit_html
  fetch('unit_html')
end
unit_value() click to toggle source
# File lib/fastspring-saasy/localized_store_price.rb, line 18
def unit_value
  fetch('unit_value')
end