Class: JsonapiMapper::Type

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

Instance Attribute Summary collapse

Instance Attribute Details

#classObject

Returns the value of attribute class

Returns:

  • (Object)

    the current value of class



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

def class
  @class
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



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

def name
  @name
end

#ruleObject

Returns the value of attribute rule

Returns:

  • (Object)

    the current value of rule



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

def rule
  @rule
end