Class: Wrap::DBRef

Inherits:
Struct
  • Object
show all
Defined in:
lib/ejson/parser_action/wrap_types.rb

Instance Attribute Summary collapse

Instance Attribute Details

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



10
11
12
# File 'lib/ejson/parser_action/wrap_types.rb', line 10

def id
  @id
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



10
11
12
# File 'lib/ejson/parser_action/wrap_types.rb', line 10

def name
  @name
end