Class: Garbanzo::Subscription::Create

Inherits:
Base
  • Object
show all
Defined in:
lib/garbanzo/subscription/create.rb

Instance Method Summary collapse

Methods inherited from Base

call, #initialize

Constructor Details

This class inherits a constructor from Garbanzo::Subscription::Base

Instance Method Details

#call(amount, *args) ⇒ Object



4
5
6
7
# File 'lib/garbanzo/subscription/create.rb', line 4

def call(amount, *args)
  args.unshift (amount * 100).to_i
  super *args
end