Sha256: 701a49ada0237c250683798218cdf85b1ff91625dc9381d9d6c49520b83f760f
Contents?: true
Size: 414 Bytes
Versions: 2
Compression:
Stored size: 414 Bytes
Contents
module NedbankApi class Client def initialize(client_id:, client_secret:, api_base: DEFAULT_API_BASE) NedbankApi.client_id = client_id NedbankApi.client_secret = client_secret NedbankApi.api_base = api_base unless api_base.nil? end def authentication @_authentication ||= AuthenticationsApi.new end def payment @_payment ||= PaymentsApi.new end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
nedbank_api-0.2.5 | lib/nedbank_api/services/client.rb |
nedbank_api-0.2.2 | lib/nedbank_api/services/client.rb |