Class: Ocular::Inputs::RabbitMQ::Input::RabbitMQRunContext

Inherits:
DSL::RunContext
  • Object
show all
Defined in:
lib/ocular/inputs/rabbitmq_input.rb

Instance Attribute Summary collapse

Attributes inherited from DSL::RunContext

#class_name, #event_signature, #logger, #proxy, #run_id

Instance Method Summary collapse

Methods inherited from DSL::RunContext

#after_fork, #cleanup, #method_missing, #register_cleanup

Methods included from Cron::DSL

#cron

Methods included from DSL::File

#getfullpath

Methods included from DSL::Cache

#cache_get, #cache_set

Methods included from DSL::Graphite

#graphite, #graphite_get_latests

Methods included from DSL::RabbitMQ

#amqp

Methods included from DSL::Mongo

#mongo

Methods included from DSL::Psql

#psql

Methods included from DSL::MySQL

#mysql

Methods included from DSL::Orbit

#orbit

Methods included from DSL::Etcd

#etcd, #locked?, #ttl_lock, #unlock

Methods included from DSL::Fog

#autoscaling, #aws, #find_server_by_id, #find_server_by_ip, #find_servers_in_autoscaling_groups, #get_servers_in_autoscaling_group

Methods included from DSL::SSH

#ssh_to

Methods included from DSL::Logging

#debug, #error, #fatal, #info, #log_cause, #log_event, #log_timing, #warn

Constructor Details

#initialize(logger) ⇒ RabbitMQRunContext

Returns a new instance of RabbitMQRunContext.



49
50
51
# File 'lib/ocular/inputs/rabbitmq_input.rb', line 49

def initialize(logger)
    super(logger)
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Ocular::DSL::RunContext

Instance Attribute Details

#delivery_infoObject

Returns the value of attribute delivery_info.



47
48
49
# File 'lib/ocular/inputs/rabbitmq_input.rb', line 47

def delivery_info
  @delivery_info
end

#metadataObject

Returns the value of attribute metadata.



47
48
49
# File 'lib/ocular/inputs/rabbitmq_input.rb', line 47

def 
  @metadata
end

#payloadObject

Returns the value of attribute payload.



47
48
49
# File 'lib/ocular/inputs/rabbitmq_input.rb', line 47

def payload
  @payload
end