module JsonapiSchema

Constants

MEDIA_TYPE
SCHEMA_PATH
VERSION

Public Class Methods

schema() click to toggle source
# File lib/jsonapi_schema.rb, line 17
def self.schema
  @schema ||= JSON.parse(File.read(schema_path))
end
schema_path() click to toggle source
# File lib/jsonapi_schema.rb, line 13
def self.schema_path
  SCHEMA_PATH
end