lib/braintree/document_upload.rb in braintree-2.83.0 vs lib/braintree/document_upload.rb in braintree-2.84.0
- old
+ new
@@ -13,11 +13,15 @@
attr_reader :id
attr_reader :kind
attr_reader :name
attr_reader :size
- def self.create(attributes)
- Configuration.gateway.document_upload.create(attributes)
+ def self.create(*args)
+ Configuration.gateway.document_upload.create(*args)
+ end
+
+ def self.create!(*args)
+ Configuration.gateway.document_upload.create!(*args)
end
def initialize(attributes) # :nodoc:
set_instance_variables_from_hash(attributes)
end