Sha256: d7cda2231618e37a13b22b96d5a2670351882dcd1cb459340d344d7845ed4391
Contents?: true
Size: 528 Bytes
Versions: 31
Compression:
Stored size: 528 Bytes
Contents
module Stripe class FileUpload < APIResource extend Stripe::APIOperations::Create extend Stripe::APIOperations::List def self.resource_url "/v1/files" end def self.request(method, url, params={}, opts={}) opts = { :api_base => Stripe::uploads_base }.merge(Util.normalize_opts(opts)) super end def self.create(params={}, opts={}) opts = { :content_type => 'multipart/form-data', }.merge(Util.normalize_opts(opts)) super end end end
Version data entries
31 entries across 31 versions & 1 rubygems