Module: GraphQL::Searchkick::FieldIntegration::HasSearchkickField
- Defined in:
- lib/graphql/searchkick/field_integration.rb
Instance Method Summary collapse
Instance Method Details
#initialize(*args, search: nil, **kwargs, &block) ⇒ Object
8 9 10 11 12 13 |
# File 'lib/graphql/searchkick/field_integration.rb', line 8 def initialize(*args, search: nil, **kwargs, &block) super(*args, **kwargs, &block) if search extension(GraphQL::Searchkick::SearchableExtension, model_class: search) end end |