class Object

Constants

Client
HTTP

Configure GraphQL endpoint using the basic HTTP network adapter.

Query

Learning Component queries only return ELearning Component types Query = Client.parse <<-'GRAPHQL'

{
  learningComponentByLdeId( ldeId: <int> ) {
    displayName
    description
  }
}

GRAPHQL

SCHEMA

DO NOT regularly get the schema from the API There is a bug on line 10211, part of the PriceInput object; you have to remove the amount's default value. Otherwise, the schema will fail the graphql-client validation GraphQL::Client.dump_schema(HTTP, “schema.json”)