Sha256: 23df30c271b0825ccb4b0f5b07d2f9303d61b20c1bd61f6873e765ef2aa90964
Contents?: true
Size: 643 Bytes
Versions: 5
Compression:
Stored size: 643 Bytes
Contents
# frozen_string_literal: true module LedgerSync module Ledgers module Stripe class DashboardURLHelper < LedgerSync::Ledgers::DashboardURLHelper def resource_path @resource_path = case resource when Stripe::Customer "/customers/#{resource.ledger_id}" else raise Error::LedgerError::UnknownURLFormat.new( client: self, resource: resource ) end end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems