Sha256: 3c6e3ed6f24244cc427eec8015d3acb34ef54cff20f460a666835f03062f4c7f
Contents?: true
Size: 272 Bytes
Versions: 1
Compression:
Stored size: 272 Bytes
Contents
module Paddle class PortalSession < Object class << self def create(customer:, **params) response = Client.post_request("customers/#{customer}/portal-sessions", body: params) PortalSession.new(response.body["data"]) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
paddle-2.7.0 | lib/paddle/models/portal_session.rb |