Class: Decidim::HashtagsResolver
- Inherits:
-
Object
- Object
- Decidim::HashtagsResolver
- Defined in:
- app/resolvers/decidim/hashtags_resolver.rb
Overview
A GraphQL resolver to handle ‘hashtags’
Instance Method Summary collapse
- #hashtags ⇒ Object
-
#initialize(organization, term) ⇒ HashtagsResolver
constructor
A new instance of HashtagsResolver.
Constructor Details
#initialize(organization, term) ⇒ HashtagsResolver
Returns a new instance of HashtagsResolver.
6 7 8 9 |
# File 'app/resolvers/decidim/hashtags_resolver.rb', line 6 def initialize(organization, term) @organization = organization @term = term end |