class JsonApiClient::Implementation

Attributes

meta[R]
version[R]

Public Class Methods

new(data) click to toggle source
# File lib/json_api_client/implementation.rb, line 5
def initialize(data)
  # If the version member is not present, clients should assume the server implements at least version 1.0 of the specification.
  @version = data.fetch("version", "1.0")

  @meta = MetaData.new(data.fetch("meta", {}))
end