Module: JsonApiServer::ApiVersion

Included in:
BaseSerializer, Error, Errors, ValidationErrors
Defined in:
lib/json_api_server/api_version.rb

Overview

JSON API version number. Currently 1.0.

Instance Method Summary collapse

Instance Method Details

#jsonapiObject



4
5
6
# File 'lib/json_api_server/api_version.rb', line 4

def jsonapi
  { 'version' => '1.0' }
end