module Dkron
#Dkron REST API
#You can communicate with Dkron
using a RESTful JSON API over HTTP. Dkron
nodes usually listen on port `8080` for API requests. All examples in this section assume that you've found a running leader at `localhost:8080`. Dkron
implements a RESTful JSON API over HTTP to communicate with software clients. Dkron
listens in port `8080` by default. All examples in this section assume that you're using the default port. Default API responses are unformatted JSON add the `pretty=true` param to format the response.
OpenAPI spec version: 1.0
Generated by: github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.4.17
#Dkron REST API
#You can communicate with Dkron
using a RESTful JSON API over HTTP. Dkron
nodes usually listen on port `8080` for API requests. All examples in this section assume that you've found a running leader at `localhost:8080`. Dkron
implements a RESTful JSON API over HTTP to communicate with software clients. Dkron
listens in port `8080` by default. All examples in this section assume that you're using the default port. Default API responses are unformatted JSON add the `pretty=true` param to format the response.
OpenAPI spec version: 1.0
Generated by: github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.4.17
Constants
- VERSION
Public Class Methods
Customize default settings for the SDK using block.
Dkron.configure do |config| config.username = "xxx" config.password = "xxx" end
If no block given, return the default Configuration
object.
# File lib/dkron-ruby.rb, line 41 def configure if block_given? yield(Configuration.default) else Configuration.default end end