Class: Raml::Trait::Instance
- Inherits:
-
AbstractMethod
- Object
- Node
- PropertiesNode
- AbstractMethod
- Raml::Trait::Instance
- Defined in:
- lib/raml/node/trait.rb
Instance Attribute Summary collapse
-
#usage ⇒ String?
How the trait should be used.
Attributes inherited from AbstractMethod
#protocols, #query_parameters, #responses
Attributes included from Headers
Attributes included from Bodies
Attributes included from Parent
Attributes included from Documentable
Attributes inherited from PropertiesNode
Attributes inherited from Node
Method Summary
Methods included from SecuredBy
#_validate_secured_by, #parse_secured_by
Methods included from Validation
#classes_to_s, #validate_array, #validate_hash, #validate_property, #validate_string
Methods included from Merge
Methods included from Global
#default_media_type, #resource_type_declarations, #schema_declarations, #security_scheme_declarations, #trait_declarations
Methods inherited from PropertiesNode
#_regexp_property, #initialize, #non_scalar_properties, #scalar_properties
Methods inherited from Node
Constructor Details
This class inherits a constructor from Raml::PropertiesNode
Instance Attribute Details
#usage ⇒ String?
Returns how the trait should be used.
8 |
# File 'lib/raml/node/trait.rb', line 8 scalar_property :usage |