Class: JSONAPI::Serialization::PathContext
- Inherits:
-
Struct
- Object
- Struct
- JSONAPI::Serialization::PathContext
- Defined in:
- lib/json_api/serialization/concerns/includes_serialization.rb
Instance Attribute Summary collapse
-
#association_name ⇒ Object
Returns the value of attribute association_name.
-
#current_record ⇒ Object
Returns the value of attribute current_record.
-
#path_parts ⇒ Object
Returns the value of attribute path_parts.
-
#path_to_related ⇒ Object
Returns the value of attribute path_to_related.
Instance Attribute Details
#association_name ⇒ Object
Returns the value of attribute association_name
8 9 10 |
# File 'lib/json_api/serialization/concerns/includes_serialization.rb', line 8 def association_name @association_name end |
#current_record ⇒ Object
Returns the value of attribute current_record
8 9 10 |
# File 'lib/json_api/serialization/concerns/includes_serialization.rb', line 8 def current_record @current_record end |
#path_parts ⇒ Object
Returns the value of attribute path_parts
8 9 10 |
# File 'lib/json_api/serialization/concerns/includes_serialization.rb', line 8 def path_parts @path_parts end |
#path_to_related ⇒ Object
Returns the value of attribute path_to_related
8 9 10 |
# File 'lib/json_api/serialization/concerns/includes_serialization.rb', line 8 def end |