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, #proxy, #run_id

Instance Method Summary collapse

Methods inherited from DSL::RunContext

#cleanup, #method_missing, #register_cleanup

Methods included from Cron::DSL

#cron

Methods included from DSL::RabbitMQ

#amqp

Methods included from DSL::MySQL

#mysql

Methods included from DSL::Orbit

#orbit

Methods included from DSL::Etcd

#etcd

Methods included from DSL::Fog

#autoscaling, #aws, #find_server_by_ip, #find_servers_in_autoscaling_groups

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.



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

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.



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

def delivery_info
  @delivery_info
end

#metadataObject

Returns the value of attribute metadata.



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

def 
  @metadata
end

#payloadObject

Returns the value of attribute payload.



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

def payload
  @payload
end