module Bitpesa

#BitPesa API

#Reference documentation for the BitPesa API V1

OpenAPI spec version: 1.0

Generated by: openapi-generator.tech OpenAPI Generator version: 4.0.0-beta2

#BitPesa API

#Reference documentation for the BitPesa API V1

OpenAPI spec version: 1.0

Generated by: openapi-generator.tech OpenAPI Generator version: 4.0.0-beta2

Constants

VERSION

Public Class Methods

configure() { |default| ... } click to toggle source

Customize default settings for the SDK using block.

Bitpesa.configure do |config|
  config.username = "xxx"
  config.password = "xxx"
end

If no block given, return the default Configuration object.

# File lib/bitpesa-sdk.rb, line 138
def configure
  if block_given?
    yield(Configuration.default)
  else
    Configuration.default
  end
end