Class: BtcPay::Client::Helpers::ApiKeys::Authorize

Inherits:
Object
  • Object
show all
Defined in:
lib/btcpay/client/helpers/api_keys.rb

Constant Summary collapse

PATH =
'/api-keys/authorize'

Instance Method Summary collapse

Constructor Details

#initialize(client:) ⇒ Authorize

Returns a new instance of Authorize.



16
17
18
19
# File 'lib/btcpay/client/helpers/api_keys.rb', line 16

def initialize(client:)
  @client = client
  @logger = @client.logger
end

Instance Method Details

#html(**opts) ⇒ Object



21
22
23
# File 'lib/btcpay/client/helpers/api_keys.rb', line 21

def html(**opts)
  get(**opts)
end


25
26
27
# File 'lib/btcpay/client/helpers/api_keys.rb', line 25

def link(**opts)
  get(skip_request: true, **opts)
end