class JsonApi::Schema
Constants
- JSON_API_SCHEMA_FILE
Public Class Methods
instance()
click to toggle source
# File lib/jsonapi/schema.rb, line 6 def self.instance if @instance.nil? File.open(JSON_API_SCHEMA_FILE,'r') do |f| @instance = JSON.parse(f.read) end end return @instance end