module Github

def api_client

Returns handle for the client instance
def api_client
  @@api_client
end

def method_missing(method, *args, &block)


Delegate to Github::Client
def method_missing(method, *args, &block)
  return super unless new.respond_to?(method)
  new.send(method, *args, &block)
end

def new(options = {}, &block)

Returns:
  • (Github::Client) -
def new(options = {}, &block)
  @@api_client = Github::Client.new(options, &block)
end

def respond_to?(method, include_private = false)

def respond_to?(method, include_private = false)
  new.respond_to?(method, include_private) || super(method, include_private)
end