Class: Ecoportal::API::GraphQL::Logic::Query::GenericItem

Inherits:
Object
  • Object
show all
Defined in:
lib/ecoportal/api/graphql/logic/query.rb

Instance Method Summary collapse

Constructor Details

#initialize(*args, **kargs) ⇒ GenericItem

Returns a new instance of GenericItem.



7
8
9
# File 'lib/ecoportal/api/graphql/logic/query.rb', line 7

def initialize(*args, **kargs)
  raise "Missuse error. You should define a item_class for a class that inherits from Query class."
end