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-13.3.0.pre.beta.1 lib/stripe/resources/climate/supplier.rb
stripe-13.2.0 lib/stripe/resources/climate/supplier.rb
stripe-13.1.2 lib/stripe/resources/climate/supplier.rb
stripe-13.2.0.pre.beta.3 lib/stripe/resources/climate/supplier.rb
stripe-13.2.0.pre.beta.2 lib/stripe/resources/climate/supplier.rb
stripe-13.1.1 lib/stripe/resources/climate/supplier.rb
stripe-13.2.0.pre.beta.1 lib/stripe/resources/climate/supplier.rb
stripe-13.1.0 lib/stripe/resources/climate/supplier.rb
stripe-13.0.2 lib/stripe/resources/climate/supplier.rb
stripe-13.1.0.pre.beta.3 lib/stripe/resources/climate/supplier.rb
stripe-13.0.1 lib/stripe/resources/climate/supplier.rb
stripe-13.1.0.pre.beta.2 lib/stripe/resources/climate/supplier.rb
stripe-13.0.0 lib/stripe/resources/climate/supplier.rb
stripe-12.7.0.pre.beta.2 lib/stripe/resources/climate/supplier.rb
stripe-12.7.0.pre.beta.1 lib/stripe/resources/climate/supplier.rb
stripe-12.6.0 lib/stripe/resources/climate/supplier.rb
stripe-12.6.0.pre.beta.1 lib/stripe/resources/climate/supplier.rb
stripe-12.5.0 lib/stripe/resources/climate/supplier.rb
stripe-12.5.0.pre.beta.2 lib/stripe/resources/climate/supplier.rb
stripe-12.5.0.pre.beta.1 lib/stripe/resources/climate/supplier.rb