class PresentationDataTemplate
Public Instance Methods
schema_json()
click to toggle source
Depricated. TODO: Remove when you remove :schema
# File lib/buweb/presentation_data_template.rb, line 38 def schema_json JSON.pretty_generate(schema) end
schema_json=(json)
click to toggle source
Depricated. TODO: Remove when you remove :schema
# File lib/buweb/presentation_data_template.rb, line 43 def schema_json=(json) begin self.schema = JSON.parse(json) rescue JSON::ParserError return false end end