Class: LambdaOpenApi::Configuration
- Inherits:
-
Object
- Object
- LambdaOpenApi::Configuration
- Defined in:
- lib/lambda_open_api/configuration.rb
Instance Attribute Summary collapse
-
#consumes ⇒ Object
Returns the value of attribute consumes.
-
#description ⇒ Object
Returns the value of attribute description.
-
#file_name ⇒ Object
Returns the value of attribute file_name.
-
#file_sets ⇒ Object
Returns the value of attribute file_sets.
-
#host ⇒ Object
Returns the value of attribute host.
-
#produces ⇒ Object
Returns the value of attribute produces.
-
#schemes ⇒ Object
Returns the value of attribute schemes.
-
#title ⇒ Object
Returns the value of attribute title.
-
#version ⇒ Object
Returns the value of attribute version.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
5 6 7 8 9 10 11 12 13 14 15 |
# File 'lib/lambda_open_api/configuration.rb', line 5 def initialize @file_name = "open_api/open_api.json" @title = "Workflow Settings Api" @description = "About this api" @version = "1" @host = "google.com" @schemes = ["https"] @consumes = ["application/json"] @produces = ["application/json"] @file_sets = [] end |
Instance Attribute Details
#consumes ⇒ Object
Returns the value of attribute consumes.
3 4 5 |
# File 'lib/lambda_open_api/configuration.rb', line 3 def consumes @consumes end |
#description ⇒ Object
Returns the value of attribute description.
3 4 5 |
# File 'lib/lambda_open_api/configuration.rb', line 3 def description @description end |
#file_name ⇒ Object
Returns the value of attribute file_name.
3 4 5 |
# File 'lib/lambda_open_api/configuration.rb', line 3 def file_name @file_name end |
#file_sets ⇒ Object
Returns the value of attribute file_sets.
3 4 5 |
# File 'lib/lambda_open_api/configuration.rb', line 3 def file_sets @file_sets end |
#host ⇒ Object
Returns the value of attribute host.
3 4 5 |
# File 'lib/lambda_open_api/configuration.rb', line 3 def host @host end |
#produces ⇒ Object
Returns the value of attribute produces.
3 4 5 |
# File 'lib/lambda_open_api/configuration.rb', line 3 def produces @produces end |
#schemes ⇒ Object
Returns the value of attribute schemes.
3 4 5 |
# File 'lib/lambda_open_api/configuration.rb', line 3 def schemes @schemes end |
#title ⇒ Object
Returns the value of attribute title.
3 4 5 |
# File 'lib/lambda_open_api/configuration.rb', line 3 def title @title end |
#version ⇒ Object
Returns the value of attribute version.
3 4 5 |
# File 'lib/lambda_open_api/configuration.rb', line 3 def version @version end |