Skip to content

@knewter /README.md
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
# First, set up a customer_create method.  This tells us how to create the
# customer in your persistence layer.
IsotopeSubscriptions.customer_create = lambda do |hash|
  customer = Customer.new(hash)
  if customer.save
    customer
  else
    false
  end
end

# Next, set up a customer_find method.  This tells us how to find the
# customer in your persistence layer.
IsotopeSubscriptions.customer_find = lambda do |id|
  Customer.find params[:id]
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.