Sha256: 3bcb20b12f17719a5f77f24848c0c9f7c35b1cda499088fa1fc564941f9e185c
Contents?: true
Size: 380 Bytes
Versions: 10
Compression:
Stored size: 380 Bytes
Contents
module AtPay class Session < Struct.new(:partner_id, :public_key, :private_key) attr_accessor :endpoint def atpay_public_key=(atpay_public_key) @atpay_public_key = Base64.decode64(atpay_public_key) end def atpay_public_key @atpay_public_key || PUBLIC_KEY end def endpoint @endpoint || "https://dashboard.atpay.com" end end end
Version data entries
10 entries across 10 versions & 1 rubygems