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)


18
19
20
21
# File 'lib/ghub/client.rb', line 18

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