Sha256: f0585a6058eae69129b9a217f748bcd07c8cb92c04ce08890ba405cb20cc612b

Contents?: true

Size: 597 Bytes

Versions: 49

Compression:

Stored size: 597 Bytes

Contents

# File generated from our OpenAPI spec
# frozen_string_literal: true

module Stripe
  module Climate
    # A supplier of carbon removal.
    class Supplier < APIResource
      extend Stripe::APIOperations::List

      OBJECT_NAME = "climate.supplier"
      def self.object_name
        "climate.supplier"
      end

      # Lists all available Climate supplier objects.
      def self.list(filters = {}, opts = {})
        request_stripe_object(
          method: :get,
          path: "/v1/climate/suppliers",
          params: filters,
          opts: opts
        )
      end
    end
  end
end

Version data entries

49 entries across 49 versions & 1 rubygems

Version Path
stripe-10.13.0 lib/stripe/resources/climate/supplier.rb
stripe-10.13.0.pre.beta.1 lib/stripe/resources/climate/supplier.rb
stripe-10.12.0 lib/stripe/resources/climate/supplier.rb
stripe-10.12.0.pre.beta.1 lib/stripe/resources/climate/supplier.rb
stripe-10.11.0 lib/stripe/resources/climate/supplier.rb
stripe-10.11.0.pre.beta.1 lib/stripe/resources/climate/supplier.rb
stripe-10.10.0 lib/stripe/resources/climate/supplier.rb
stripe-10.10.0.pre.beta.1 lib/stripe/resources/climate/supplier.rb
stripe-10.9.0 lib/stripe/resources/climate/supplier.rb