Class: Insights::API::Common::GraphQL::AssociatedRecords
- Inherits:
-
Object
- Object
- Insights::API::Common::GraphQL::AssociatedRecords
- Includes:
- Enumerable, QueryRelation::Queryable
- Defined in:
- lib/insights/api/common/graphql/associated_records.rb
Instance Method Summary collapse
-
#initialize(collection) ⇒ AssociatedRecords
constructor
A new instance of AssociatedRecords.
Constructor Details
#initialize(collection) ⇒ AssociatedRecords
Returns a new instance of AssociatedRecords.
11 12 13 |
# File 'lib/insights/api/common/graphql/associated_records.rb', line 11 def initialize(collection) @collection = collection end |