Class: SexyJSONSchemas::Properties::String

Inherits:
Base
  • Object
show all
Defined in:
lib/sexy_json_schemas/properties/string.rb

Instance Attribute Summary

Attributes inherited from Base

#name

Instance Method Summary collapse

Methods inherited from Base

#as_json, #initialize

Constructor Details

This class inherits a constructor from SexyJSONSchemas::Properties::Base

Instance Method Details

#typeObject



4
5
6
# File 'lib/sexy_json_schemas/properties/string.rb', line 4

def type
  "string"
end