lib/stripe/resources/source.rb in stripe-10.9.0.pre.beta.1 vs lib/stripe/resources/source.rb in stripe-10.9.0
- old
+ new
@@ -16,9 +16,12 @@
extend Stripe::APIOperations::Create
include Stripe::APIOperations::Save
extend Stripe::APIOperations::NestedResource
OBJECT_NAME = "source"
+ def self.object_name
+ "source"
+ end
nested_resource_class_methods :source_transaction, operations: %i[retrieve list]
# Verify a given source.
def verify(params = {}, opts = {})