class AppDynamics::BusinessTransactions::Scope

Public Class Methods

new(set, name) click to toggle source
# File lib/app_dynamics/business_transactions.rb, line 309
def initialize(set, name)
  @set = set
  @name = name
end

Public Instance Methods

delete(*paths) click to toggle source
# File lib/app_dynamics/business_transactions.rb, line 330
def delete(*paths)
  @set.add_named_matcher(@name, paths, :delete)
end
get(*paths) click to toggle source
# File lib/app_dynamics/business_transactions.rb, line 314
def get(*paths)
  @set.add_named_matcher(@name, paths, :get)
end
patch(*paths) click to toggle source
# File lib/app_dynamics/business_transactions.rb, line 326
def patch(*paths)
  @set.add_named_matcher(@name, paths, :patch)
end
post(*paths) click to toggle source
# File lib/app_dynamics/business_transactions.rb, line 318
def post(*paths)
  @set.add_named_matcher(@name, paths, :post)
end
put(*paths) click to toggle source
# File lib/app_dynamics/business_transactions.rb, line 322
def put(*paths)
  @set.add_named_matcher(@name, paths, :put)
end