Class: NewRelic::MetricParser::ActiveMerchant
Constant Summary
SEPARATOR
Instance Attribute Summary
#name
Instance Method Summary
collapse
#apdex_metric_path, #base_metric_name, #call_rate_suffix, #category, #developer_name, for_metric_named, #initialize, #is_controller?, #is_transaction?, #last_segment, #legend_name, #method_missing, parse, #pie_chart_label, #segment_0, #segment_1, #segment_2, #segment_3, #segment_4, #segment_5, #segments, #summary_metrics, #tooltip_name, #url
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
in the class NewRelic::MetricParser
Instance Method Details
#gateway_name ⇒ Object
13
14
15
16
|
# File 'lib/new_relic/metric_parser/active_merchant.rb', line 13
def gateway_name
segments[2][0..-8].titleize
end
|
#is_active_merchant? ⇒ Boolean
3
|
# File 'lib/new_relic/metric_parser/active_merchant.rb', line 3
def is_active_merchant?; true; end
|
#is_active_merchant_gateway? ⇒ Boolean
5
6
7
|
# File 'lib/new_relic/metric_parser/active_merchant.rb', line 5
def is_active_merchant_gateway?
segments[1] == 'gateway'
end
|
#is_active_merchant_operation? ⇒ Boolean
9
10
11
|
# File 'lib/new_relic/metric_parser/active_merchant.rb', line 9
def is_active_merchant_operation?
segments[1] == 'operation'
end
|
#operation_name ⇒ Object
18
19
20
|
# File 'lib/new_relic/metric_parser/active_merchant.rb', line 18
def operation_name
segments[2]
end
|
#short_name ⇒ Object
22
23
24
|
# File 'lib/new_relic/metric_parser/active_merchant.rb', line 22
def short_name
segments[2]
end
|