Sha256: b32663e2f13b43ce540f29c1ead7824840646d3f82038ba5c22f9e4e0d700002

Contents?: true

Size: 306 Bytes

Versions: 2

Compression:

Stored size: 306 Bytes

Contents

module Aua::Agents::MightyMite

  def self.extend?(agent)
    agent.app == "MightyMite" || agent.app == "mighty-mite"
  end

  def type
    :ApiClient
  end

  def name
    :MightyMite
  end

  def version
    @version ||= app == "MightyMite" ? parts[1] && parts[1][0] : version_of("mighty-mite")
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
aua-mite-0.0.8 lib/aua-mite/agents/mighty_mite.rb
aua-mite-0.0.7 lib/aua-mite/agents/mighty_mite.rb