Sha256: a26ec3d3a5b03c8ec3d4fde0ef70d25c1200baf74f89494462a2bc6a5bd4fc41

Contents?: true

Size: 443 Bytes

Versions: 20

Compression:

Stored size: 443 Bytes

Contents

# File generated from our OpenAPI spec
# frozen_string_literal: true

module Stripe
  module BillingPortal
    class SessionService < StripeService
      # Creates a session of the customer portal.
      def create(params = {}, opts = {})
        request(
          method: :post,
          path: "/v1/billing_portal/sessions",
          params: params,
          opts: opts,
          base_address: :api
        )
      end
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
stripe-13.5.0 lib/stripe/services/billing_portal/session_service.rb
stripe-13.4.1 lib/stripe/services/billing_portal/session_service.rb
stripe-13.4.0 lib/stripe/services/billing_portal/session_service.rb
stripe-13.3.1 lib/stripe/services/billing_portal/session_service.rb
stripe-13.3.0 lib/stripe/services/billing_portal/session_service.rb
stripe-13.3.0.pre.beta.3 lib/stripe/services/billing_portal/session_service.rb
stripe-13.3.0.pre.beta.2 lib/stripe/services/billing_portal/session_service.rb
stripe-13.3.0.pre.beta.1 lib/stripe/services/billing_portal/session_service.rb
stripe-13.2.0 lib/stripe/services/billing_portal/session_service.rb
stripe-13.1.2 lib/stripe/services/billing_portal/session_service.rb
stripe-13.2.0.pre.beta.3 lib/stripe/services/billing_portal/session_service.rb
stripe-13.2.0.pre.beta.2 lib/stripe/services/billing_portal/session_service.rb
stripe-13.1.1 lib/stripe/services/billing_portal/session_service.rb
stripe-13.2.0.pre.beta.1 lib/stripe/services/billing_portal/session_service.rb
stripe-13.1.0 lib/stripe/services/billing_portal/session_service.rb
stripe-13.0.2 lib/stripe/services/billing_portal/session_service.rb
stripe-13.1.0.pre.beta.3 lib/stripe/services/billing_portal/session_service.rb
stripe-13.0.1 lib/stripe/services/billing_portal/session_service.rb
stripe-13.1.0.pre.beta.2 lib/stripe/services/billing_portal/session_service.rb
stripe-13.0.0 lib/stripe/services/billing_portal/session_service.rb