Closed remear closed 10 years ago
Looks like you can do customer.unstore which calls destroy, https://github.com/balanced/balanced-ruby/blob/master/lib/balanced/resources/resource.rb#L70. Seems this is available only in master and not in the latest version on rubygems, 0.7.2. <= 0.7.2 only has destroy.
Since it appears from other issue discussions that unstore is the standard, I will create an example in examples/customers.rb for unstoring a customer.
FYI: This same issue also exists with Card. destroy works, unstore, which is what's used in the scenarios in this repo, does not work.
v1.0 has been standardized to use unstore in most delete operations. If you experience any other issues, please open another issue and let us know.
The API allows for the deletion of Customers "so long as there has been no activity associated with it such as creating a hold, credit, or debit"
This ability needs to be added.