From 404cca8f973956caa1c6fac2f04fb71c2271d86c Mon Sep 17 00:00:00 2001 From: Andrew Edwards Date: Thu, 20 Aug 2020 20:22:34 -0400 Subject: [PATCH] Made call as function for DynamicExpandable public. --- Sources/StripeKit/Shared Models/StripeExpandable.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/StripeKit/Shared Models/StripeExpandable.swift b/Sources/StripeKit/Shared Models/StripeExpandable.swift index 3d9083a9..06e908f6 100644 --- a/Sources/StripeKit/Shared Models/StripeExpandable.swift +++ b/Sources/StripeKit/Shared Models/StripeExpandable.swift @@ -108,7 +108,7 @@ public class DynamicExpandable: StripeModel { public var projectedValue: DynamicExpandable { self } - func callAsFunction(as type: T.Type) -> T? { + public func callAsFunction(as type: T.Type) -> T? { switch _state { case .unexpanded(_), .empty: return nil