Class: Synthra::WebhookSimulator::Configuration
- Inherits:
-
Object
- Object
- Synthra::WebhookSimulator::Configuration
- Defined in:
- lib/synthra/webhook_simulator.rb
Overview
Configuration class
Instance Attribute Summary collapse
-
#api_version ⇒ Object
Returns the value of attribute api_version.
-
#default_headers ⇒ Object
Returns the value of attribute default_headers.
-
#endpoint ⇒ Object
Returns the value of attribute endpoint.
-
#secret ⇒ Object
Returns the value of attribute secret.
-
#timeout ⇒ Object
Returns the value of attribute timeout.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
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_version ⇒ Object
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_headers ⇒ Object
Returns the value of attribute default_headers.
225 226 227 |
# File 'lib/synthra/webhook_simulator.rb', line 225 def default_headers @default_headers end |
#endpoint ⇒ Object
Returns the value of attribute endpoint.
224 225 226 |
# File 'lib/synthra/webhook_simulator.rb', line 224 def endpoint @endpoint end |
#secret ⇒ Object
Returns the value of attribute secret.
224 225 226 |
# File 'lib/synthra/webhook_simulator.rb', line 224 def secret @secret end |
#timeout ⇒ Object
Returns the value of attribute timeout.
225 226 227 |
# File 'lib/synthra/webhook_simulator.rb', line 225 def timeout @timeout end |