Sha256: e08773c882d3897801c44a4d129bcc682f560e10d3ea4259817dd3d86503434c
Contents?: true
Size: 519 Bytes
Versions: 16
Compression:
Stored size: 519 Bytes
Contents
module Stripe class FileUpload < APIResource extend Stripe::APIOperations::Create extend Stripe::APIOperations::List def self.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
16 entries across 16 versions & 1 rubygems