Sha256: 049b6881e69d024ef455e05ca2527b720774b145cfbebc78ee089adfc1eadbab

Contents?: true

Size: 291 Bytes

Versions: 4

Compression:

Stored size: 291 Bytes

Contents

module Stripe
  class Source < APIResource
    extend Stripe::APIOperations::Create
    include Stripe::APIOperations::Save

    def verify(params={}, opts={})
      resp, opts = request(:post, resource_url + '/verify', params, opts)
      initialize_from(resp.data, opts)
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
stripe-2.0.3 lib/stripe/source.rb
stripe-2.0.2 lib/stripe/source.rb
stripe-2.0.1 lib/stripe/source.rb
stripe-2.0.0 lib/stripe/source.rb