class Deploygate::Client
Client
for the Deploygate
API
Constants
- VERSION
Attributes
open_timeout[R]
symbolize_response[R]
timeout[R]
token[R]
Public Class Methods
new(token:, symbolize_response: false, open_timeout: 10, timeout: 30)
click to toggle source
Use options passed in
@param token [String] DeployGate API
token @option symbolize_response
[Boolean] Parse response to symbolized hash @option open_timeout
[Integer] Open timeout Integer in seconds @option timeout [Integer] Read timeout Integer in seconds @return [Deploygate::Client]
# File lib/deploygate/client.rb, line 26 def initialize(token:, symbolize_response: false, open_timeout: 10, timeout: 30) @token = token @symbolize_response = symbolize_response @open_timeout = open_timeout @timeout = timeout end