Class: Ghub::Client

Inherits:
Object
  • Object
show all
Defined in:
lib/ghub/client.rb

Overview

The primary interface for making API requests.

Instance Method Summary collapse

Constructor Details

#initialize {|configuration| ... } ⇒ Client

Returns a new instance of Client.

Yields:

  • (configuration)


30
31
32
33
# File 'lib/ghub/client.rb', line 30

def initialize(**)
  super
  yield configuration if block_given?
end