Class: Ecoportal::API::GraphQL::Query::PageWithForces

Inherits:
Logic::Query
  • Object
show all
Defined in:
lib/ecoportal/api/graphql/query/page_with_forces.rb

Overview

Fetches a single page by ID, including its full forces array. Used by OozeRedirect::ForceCompat instead of the standard Query::Page so that page.forces.get_by_name(name) returns populated data.

Usage (via ForceCompat — not typically called directly): page = Query::PageWithForces.new(client).query(id: page_id) force = page.forces.get_by_name('Workflow (S1)').first

Method Summary

Methods inherited from Logic::Query

#response_class