Sha256: 03fe500e7d0f302f58f0c9ee630af4d1e62f4f88c2cd7f54f85ae4af71e8c80d
Contents?: true
Size: 589 Bytes
Versions: 13
Compression:
Stored size: 589 Bytes
Contents
class Eco::API::UseCases::GraphQL::Base < Eco::API::Common::Loaders::UseCase class NotImplementedMethod < StandardError end name "graphql-base" type :other include Eco::API::UseCases::GraphQL::Helpers::Base def main(session, options, usecase) options.deep_merge!(workflow: {no_email: true}) # prevent the default mailer to quick in options[:end_get] = false process end # Write here your script def process raise NotImplementedMethod, "You need to inherit from this class ('#{self.class}') and call super with a block" end end
Version data entries
13 entries across 13 versions & 1 rubygems