class Simplepay::Support::SubscriptionPeriod
Constants
- ALLOWED_INTERVALS
- ALLOWED_QUANTITY_RANGE
Limited to 3 digits.
Public Instance Methods
to_s()
click to toggle source
See Simplepay::Support::Interval.to_s
for more information.
If the subscription lasts “forever” then Amazon does not need an interval string.
Calls superclass method
Simplepay::Support::Interval#to_s
# File lib/simplepay/support/subscription_period.rb, line 18 def to_s super unless interval == 'forever' end