Class: Synthra::WebhookSimulator::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/synthra/webhook_simulator.rb

Overview

Configuration class

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



227
228
229
230
231
232
233
# File 'lib/synthra/webhook_simulator.rb', line 227

def initialize
  @endpoint = nil
  @secret = nil
  @api_version = "2023-10-16"
  @default_headers = {}
  @timeout = 30
end

Instance Attribute Details

#api_versionObject

Returns the value of attribute api_version.



224
225
226
# File 'lib/synthra/webhook_simulator.rb', line 224

def api_version
  @api_version
end

#default_headersObject

Returns the value of attribute default_headers.



225
226
227
# File 'lib/synthra/webhook_simulator.rb', line 225

def default_headers
  @default_headers
end

#endpointObject

Returns the value of attribute endpoint.



224
225
226
# File 'lib/synthra/webhook_simulator.rb', line 224

def endpoint
  @endpoint
end

#secretObject

Returns the value of attribute secret.



224
225
226
# File 'lib/synthra/webhook_simulator.rb', line 224

def secret
  @secret
end

#timeoutObject

Returns the value of attribute timeout.



225
226
227
# File 'lib/synthra/webhook_simulator.rb', line 225

def timeout
  @timeout
end