Class: Ibrain::Types::BaseApiConnection
- Inherits:
-
BaseObject
- Object
- GraphQL::Schema::Object
- BaseObject
- Ibrain::Types::BaseApiConnection
- Includes:
- GraphQL::Types::Relay::ConnectionBehaviors
- Defined in:
- app/graphql/ibrain/types/base_api_connection.rb
Instance Method Summary collapse
Methods inherited from BaseObject
Instance Method Details
#aggregate ⇒ Object
11 12 13 |
# File 'app/graphql/ibrain/types/base_api_connection.rb', line 11 def aggregate Ibrain::Aggregate.new(object.items.to_a.size) end |