Class: RamlParser::Model::SecurityScheme
- Inherits:
-
Object
- Object
- RamlParser::Model::SecurityScheme
- Defined in:
- lib/raml_parser/model.rb
Instance Attribute Summary collapse
-
#described_by ⇒ Object
Returns the value of attribute described_by.
-
#description ⇒ Object
Returns the value of attribute description.
-
#name ⇒ Object
Returns the value of attribute name.
-
#settings ⇒ Object
Returns the value of attribute settings.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(name, type = nil, description = nil, described_by = nil, settings = {}) ⇒ SecurityScheme
constructor
A new instance of SecurityScheme.
Constructor Details
#initialize(name, type = nil, description = nil, described_by = nil, settings = {}) ⇒ SecurityScheme
Returns a new instance of SecurityScheme.
142 143 144 145 146 147 148 |
# File 'lib/raml_parser/model.rb', line 142 def initialize(name, type = nil, description = nil, described_by = nil, settings = {}) @name = name @type = type @description = description @described_by = described_by @settings = settings end |
Instance Attribute Details
#described_by ⇒ Object
Returns the value of attribute described_by.
140 141 142 |
# File 'lib/raml_parser/model.rb', line 140 def described_by @described_by end |
#description ⇒ Object
Returns the value of attribute description.
140 141 142 |
# File 'lib/raml_parser/model.rb', line 140 def description @description end |
#name ⇒ Object
Returns the value of attribute name.
140 141 142 |
# File 'lib/raml_parser/model.rb', line 140 def name @name end |
#settings ⇒ Object
Returns the value of attribute settings.
140 141 142 |
# File 'lib/raml_parser/model.rb', line 140 def settings @settings end |
#type ⇒ Object
Returns the value of attribute type.
140 141 142 |
# File 'lib/raml_parser/model.rb', line 140 def type @type end |