lib/ecoportal/api/graphql.rb in ecoportal-api-graphql-0.1.4 vs lib/ecoportal/api/graphql.rb in ecoportal-api-graphql-0.1.5
- old
+ new
@@ -3,10 +3,10 @@
# @attr_reader client [Common::GraphQL::Client] a client object that holds the configuration of the api connection.
# @attr_reader logger [Logger] the logger.
class GraphQL
include Ecoportal::API::Common::GraphQL::ClassHelpers
- attr_reader :client
+ attr_reader :client, :fragments
# Creates a `GraphQL` object to interact with the ecoPortal `GraphQL API`.
# @param org_id [String] the id of the target organization.
# It defaults to the environmental variable `ORGANIZATION_ID`, if defined
# @param logger [Logger] an object with `Logger` interface to generate logs.