lib/tres_delta/customer.rb in tres_delta-0.0.2 vs lib/tres_delta/customer.rb in tres_delta-0.1.0
- old
+ new
@@ -12,10 +12,10 @@
end
class << self
def create(params = {})
Customer.new(params).tap do |customer|
- unless Vault.new.create_customer(customer).success?
+ unless Vault.create_customer(customer).success?
raise InvalidCustomer
end
end
end
end