def add_resource_fragment(fragment, include_related)
      fragment.primary = true

      init_included_relationships(fragment, include_related)

      @fragments[fragment.identity] = fragment
    end
def add_resource_fragment(fragment, include_related)
      fragment.primary = true

      init_included_relationships(fragment, include_related)

      @fragments[fragment.identity] = fragment
    end
Adds a Resource Fragment to the Resources hash

 @param fragment [JSONAPI::ResourceFragment]
 @param include_related [Hash]

 @return [null]