Module: BtcPay

Defined in:
lib/btcpay.rb,
lib/btcpay/version.rb,
lib/btcpay/client/base.rb,
lib/btcpay/client/config.rb,
lib/btcpay/client/result.rb,
lib/btcpay/client/service.rb,
lib/btcpay/client/api/base.rb,
lib/btcpay/client/api/store.rb,
lib/btcpay/client/api/users.rb,
lib/btcpay/client/api/health.rb,
lib/btcpay/client/api/server.rb,
lib/btcpay/client/api/api_keys.rb,
lib/btcpay/client/helpers/base.rb,
lib/btcpay/client/helpers/api_keys.rb,
lib/btcpay/client/api/pull_payments.rb,
lib/btcpay/client/api/store_payouts.rb,
lib/btcpay/client/api/lightning_node.rb,
lib/btcpay/client/api/store_invoices.rb,
lib/btcpay/client/api/store_pull_payments.rb,
lib/btcpay/client/api/store_payment_requests.rb

Defined Under Namespace

Modules: Client Classes: Error

Constant Summary collapse

VERSION =
'0.1.2'

Class Method Summary collapse

Class Method Details

.new(**args) ⇒ Object



13
14
15
16
# File 'lib/btcpay.rb', line 13

def new(**args)
  config = BtcPay::Client::Config.new(**args)
  BtcPay::Client::Base.new(config: config, **args)
end