Permalink
Browse files

Merge branch 'bowsersenior/master'

  • Loading branch information...
Cody Fauser
Cody Fauser committed Sep 25, 2009
2 parents cdcd768 + 1c31dfe commit e3f2601179ef68c5355c87f6114af7c6652da1a2
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/active_merchant/billing/gateways/authorize_net.rb
@@ -173,10 +173,10 @@ def credit(money, identification, options = {})
#
# * <tt>:interval</tt> -- A hash containing information about the interval of time between payments. Must
# contain the keys <tt>:length</tt> and <tt>:unit</tt>. <tt>:unit</tt> can be either <tt>:months</tt> or <tt>:days</tt>.
- # If <tt>:unit</tt> is <tt>:months</tt> then <tt>:interval</tt> must be an integer between 1 and 12 inclusive.
- # If <tt>:unit</tt> is <tt>:days</tt> then <tt>:interval</tt> must be an integer between 7 and 365 inclusive.
+ # If <tt>:unit</tt> is <tt>:months</tt> then <tt>:length</tt> must be an integer between 1 and 12 inclusive.
+ # If <tt>:unit</tt> is <tt>:days</tt> then <tt>:length</tt> must be an integer between 7 and 365 inclusive.
# For example, to charge the customer once every three months the hash would be
- # +{ :unit => :months, :interval => 3 }+ (REQUIRED)
+ # +:interval => { :unit => :months, :length => 3 }+ (REQUIRED)
# * <tt>:duration</tt> -- A hash containing keys for the <tt>:start_date</tt> the subscription begins (also the date the
# initial billing occurs) and the total number of billing <tt>:occurences</tt> or payments for the subscription. (REQUIRED)
def recurring(money, creditcard, options={})

0 comments on commit e3f2601

Please sign in to comment.