def update_page_related_attributes!(response)
      data = JSON.parse(response.body, symbolize_names: true)
      @attributes[:next] = data[:next]
      @attributes[:previous] = data[:previous]
      @attributes[:results] = data[:results]
      transform_results!
    end
def update_page_related_attributes!(response)
      data = JSON.parse(response.body, symbolize_names: true)
      @attributes[:next] = data[:next]
      @attributes[:previous] = data[:previous]
      @attributes[:results] = data[:results]
      transform_results!
    end
Private: This parses given responses body's JSON,
 sets the collection attributes from that
 JSON response and transform the results array
 to a collection of base_class instances.

 Following attributes get set:
   * next
   * previous
   * results