Class: Apia::Definitions::Scalar
- Inherits:
-
Apia::Definition
- Object
- Apia::Definition
- Apia::Definitions::Scalar
- Defined in:
- lib/apia/definitions/scalar.rb
Instance Attribute Summary collapse
-
#cast ⇒ Object
Returns the value of attribute cast.
-
#parse ⇒ Object
Returns the value of attribute parse.
-
#validator ⇒ Object
Returns the value of attribute validator.
Attributes inherited from Apia::Definition
#description, #id, #name, #schema
Instance Method Summary collapse
Methods inherited from Apia::Definition
Constructor Details
This class inherits a constructor from Apia::Definition
Instance Attribute Details
#cast ⇒ Object
Returns the value of attribute cast.
10 11 12 |
# File 'lib/apia/definitions/scalar.rb', line 10 def cast @cast end |
#parse ⇒ Object
Returns the value of attribute parse.
11 12 13 |
# File 'lib/apia/definitions/scalar.rb', line 11 def parse @parse end |
#validator ⇒ Object
Returns the value of attribute validator.
12 13 14 |
# File 'lib/apia/definitions/scalar.rb', line 12 def validator @validator end |