Class: Bs2Api::Payment::Key
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(key, client_id: Bs2Api.configuration.client_id, client_secret: Bs2Api.configuration.client_secret, proxy: nil) ⇒ Key
constructor
A new instance of Key.
Methods inherited from Base
Constructor Details
#initialize(key, client_id: Bs2Api.configuration.client_id, client_secret: Bs2Api.configuration.client_secret, proxy: nil) ⇒ Key
Returns a new instance of Key.
6 7 8 9 10 11 12 13 14 15 16 |
# File 'lib/bs2_api/payment/key.rb', line 6 def initialize( key, client_id: Bs2Api.configuration.client_id, client_secret: Bs2Api.configuration.client_secret, proxy: nil ) @key = key @client_id = client_id @client_secret = client_secret @proxy = proxy end |