Class: SimpleRecurring::Subscription

Inherits:
Object
  • Object
show all
Defined in:
app/models/simple_recurring/subscription.rb

Instance Attribute Summary collapse

Instance Attribute Details

#billing_frequencyObject

Symbol billing_frequency - Symbol representing billing frequency, :daily, :weekly, :monthly, :annually Integer billing_periods_count - Length in billing periods, 0 for indefinite Integer amount - Price as an integer (e.g. 100 - $1.00)



6
7
8
# File 'app/models/simple_recurring/subscription.rb', line 6

def billing_frequency
  @billing_frequency
end

#billing_periods_countObject

Symbol billing_frequency - Symbol representing billing frequency, :daily, :weekly, :monthly, :annually Integer billing_periods_count - Length in billing periods, 0 for indefinite Integer amount - Price as an integer (e.g. 100 - $1.00)



6
7
8
# File 'app/models/simple_recurring/subscription.rb', line 6

def billing_periods_count
  @billing_periods_count
end