Class: Sink::Resources::Tests

Inherits:
Object
  • Object
show all
Defined in:
lib/sink/resources/tests.rb

Instance Method Summary collapse

Constructor Details

#initialize(client:) ⇒ Tests

Returns a new instance of Tests.

Parameters:



7
8
9
# File 'lib/sink/resources/tests.rb', line 7

def initialize(client:)
  @client = client
end

Instance Method Details

#run_codegen(opts = {}) ⇒ nil

Testing codegen change with new Github action

Parameters:

  • opts (Hash, Sink::RequestOptions) (defaults to: {})

    Options to specify HTTP behaviour for this request.

Returns:

  • (nil)


16
17
18
19
20
21
22
23
# File 'lib/sink/resources/tests.rb', line 16

def run_codegen(opts = {})
  req = {
    method: :get,
    path: "/tests/run_codegen",
    model: NilClass
  }
  @client.request(req, opts)
end