Sha256: 6dcbe606b740855cbdd3e6df5cf856668411d9a1dc0a3b21ec8e9f9cd5cd1bb6
Contents?: true
Size: 444 Bytes
Versions: 1
Compression:
Stored size: 444 Bytes
Contents
module PCPServerSDK module Models class ApplePaymentTokenVersion EC_V1 = 'EC_V1'.freeze # Define other versions as needed def self.all_versions [EC_V1] end def self.from_string(value) version = all_versions.find { |ver| ver.casecmp(value).zero? } raise TypeError, "'#{value}' can't represent an ApplePaymentTokenVersion" unless version version end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pcp-server-ruby-sdk-1.0.0 | lib/PCP-server-Ruby-SDK/models/apple_payment_token_version.rb |