Class: Sink::Resources::Tests
- Inherits:
-
Object
- Object
- Sink::Resources::Tests
- Defined in:
- lib/sink/resources/tests.rb
Instance Method Summary collapse
-
#initialize(client:) ⇒ Tests
constructor
A new instance of Tests.
-
#run_codegen(opts = {}) ⇒ nil
Testing codegen change with new Github action.
Constructor Details
#initialize(client:) ⇒ Tests
Returns a new instance of Tests.
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
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 |