Sha256: c4ecc65bac245d8cef4b392600ad9c2947035580aea96d23f88c38d077c405a3
Contents?: true
Size: 452 Bytes
Versions: 32
Compression:
Stored size: 452 Bytes
Contents
class NewRelic::MetricParser::ActiveMerchant < NewRelic::MetricParser def is_active_merchant?; true; end def is_active_merchant_gateway? segments[1] == 'gateway' end def is_active_merchant_operation? segments[1] == 'operation' end def gateway_name # ends in "Gateway" - trim that off segments[2][0..-8].titleize end def operation_name segments[2] end def short_name segments[2] end end
Version data entries
32 entries across 32 versions & 4 rubygems