Sha256: b423cafe4074f4633cfd01966b9382eed9e3cd4bc44341f06fa16deddcd1c815

Contents?: true

Size: 570 Bytes

Versions: 2

Compression:

Stored size: 570 Bytes

Contents

module AgileNotifier
  class ITS
    include Servable

    def initialize(args)
      @url = args.fetch(:url)
    end

    def query_amount_of_tickets(query)
      raise(NotImplementedError, "Abstract method [#{__method__}] is called, please implement", caller)
    end

    def set_limit(project, query, limit)
      raise(NotImplementedError, "Abstract method [#{__method__}] is called, please implement", caller)
    end

    def exceeds_limit?
      raise(NotImplementedError, "Abstract method [#{__method__}] is called, please implement", caller)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
agile_notifier-2.1 lib/agile_notifier/its.rb
agile_notifier-2.0 lib/agile_notifier/its.rb