Class: JSONAPI::Serialization::IncludeIteration

Inherits:
Struct
  • Object
show all
Defined in:
lib/json_api/serialization/concerns/includes_serialization.rb

Instance Attribute Summary collapse

Instance Attribute Details

#association_nameObject

Returns the value of attribute association_name

Returns:

  • (Object)

    the current value of association_name



9
10
11
# File 'lib/json_api/serialization/concerns/includes_serialization.rb', line 9

def association_name
  @association_name
end

#current_recordObject

Returns the value of attribute current_record

Returns:

  • (Object)

    the current value of current_record



9
10
11
# File 'lib/json_api/serialization/concerns/includes_serialization.rb', line 9

def current_record
  @current_record
end

#path_partsObject

Returns the value of attribute path_parts

Returns:

  • (Object)

    the current value of path_parts



9
10
11
# File 'lib/json_api/serialization/concerns/includes_serialization.rb', line 9

def path_parts
  @path_parts
end

Returns the value of attribute path_to_related

Returns:

  • (Object)

    the current value of path_to_related



9
10
11
# File 'lib/json_api/serialization/concerns/includes_serialization.rb', line 9

def path_to_related
  @path_to_related
end

Returns the value of attribute related_record

Returns:

  • (Object)

    the current value of related_record



9
10
11
# File 'lib/json_api/serialization/concerns/includes_serialization.rb', line 9

def related_record
  @related_record
end