mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-10-15 00:00:44 -04:00
* Update dynamic constant references * Manual additionsg * Fix lint * Use const_Get * Remove puts
25 lines
849 B
Ruby
25 lines
849 B
Ruby
# File generated from our OpenAPI spec
|
|
# frozen_string_literal: true
|
|
|
|
module Stripe
|
|
# Stripe needs to collect certain pieces of information about each account
|
|
# created. These requirements can differ depending on the account's country. The
|
|
# Country Specs API makes these rules available to your integration.
|
|
#
|
|
# You can also view the information from this API call as [an online
|
|
# guide](https://stripe.com/docs/connect/required-verification-information).
|
|
class CountrySpec < APIResource
|
|
extend Stripe::APIOperations::List
|
|
|
|
OBJECT_NAME = "country_spec"
|
|
def self.object_name
|
|
"country_spec"
|
|
end
|
|
|
|
# Lists all Country Spec objects available in the API.
|
|
def self.list(filters = {}, opts = {})
|
|
request_stripe_object(method: :get, path: "/v1/country_specs", params: filters, opts: opts)
|
|
end
|
|
end
|
|
end
|