Class: JSON::Schema::Serializer::DataWithContext

Inherits:
Struct
  • Object
show all
Defined in:
lib/json/schema/serializer.rb

Instance Attribute Summary collapse

Instance Attribute Details

#contextObject

Returns the value of attribute context



22
23
24
# File 'lib/json/schema/serializer.rb', line 22

def context
  @context
end

#dataObject

Returns the value of attribute data



22
23
24
# File 'lib/json/schema/serializer.rb', line 22

def data
  @data
end