Skip to content

Instantly share code, notes, and snippets.

@jonskirk
jonskirk / Create product service
Created February 4, 2015 01:25
Stripe service problem
class CreateProduct
def self.call(options={})
product = Product.new(options)
if !product.valid?
return product
end
begin
Stripe::Product.create(