Class: JsonapiMapper::Id

Inherits:
Struct
  • Object
show all
Defined in:
lib/jsonapi_mapper.rb

Instance Attribute Summary collapse

Instance Attribute Details

#rawObject

Returns the value of attribute raw

Returns:

  • (Object)

    the current value of raw



14
15
16
# File 'lib/jsonapi_mapper.rb', line 14

def raw
  @raw
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



14
15
16
# File 'lib/jsonapi_mapper.rb', line 14

def type
  @type
end