Sha256: 5814f304a18b71a8ab6c0e5b46a7328096efa9f72165288911586bb8aa59b45d

Contents?: true

Size: 279 Bytes

Versions: 1

Compression:

Stored size: 279 Bytes

Contents

module Jei
  module Nodes
    # @see http://jsonapi.org/format/1.0/#document-jsonapi-object
    class JSONAPINode < Node
      # @param [Hash<Symbol, Object>] context
      def visit(context)
        context[:jsonapi] = { version: Document::VERSION }
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jei-0.2.0 lib/jei/nodes/json_api_node.rb