Class: JsonapiMapper::Rule

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

Instance Attribute Summary collapse

Instance Attribute Details

#attributesObject

Returns the value of attribute attributes

Returns:

  • (Object)

    the current value of attributes



17
18
19
# File 'lib/jsonapi_mapper.rb', line 17

def attributes
  @attributes
end

#scopeObject

Returns the value of attribute scope

Returns:

  • (Object)

    the current value of scope



17
18
19
# File 'lib/jsonapi_mapper.rb', line 17

def scope
  @scope
end