Class: Scout::Trigger

Inherits:
Hashie::Mash
  • Object
show all
Defined in:
lib/scout_api/trigger.rb

Instance Attribute Summary collapse

Instance Attribute Details

#pluginObject



8
9
10
# File 'lib/scout_api/trigger.rb', line 8

def plugin
  @plugin ||= server.plugin(plugin_id)
end

#serverObject



4
5
6
# File 'lib/scout_api/trigger.rb', line 4

def server
  @server ||= Scout::Server.first(id)
end