Module: Entrance::Agent::Bouton
Instance Attribute Summary collapse
-
#application ⇒ Object
Returns the value of attribute application.
-
#customer ⇒ Object
Returns the value of attribute customer.
-
#function ⇒ Object
Returns the value of attribute function.
Instance Method Summary collapse
Instance Attribute Details
#application ⇒ Object
Returns the value of attribute application.
8 9 10 |
# File 'lib/entrance/agent/bouton.rb', line 8 def application @application end |
#customer ⇒ Object
Returns the value of attribute customer.
8 9 10 |
# File 'lib/entrance/agent/bouton.rb', line 8 def customer @customer end |
#function ⇒ Object
Returns the value of attribute function.
8 9 10 |
# File 'lib/entrance/agent/bouton.rb', line 8 def function @function end |
Instance Method Details
#config ⇒ Object
9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/entrance/agent/bouton.rb', line 9 def config @mode ||= :tcp @function ||= "common" @application ||= self.class.name.split("::").last @customer ||= "global" Synapse::Easy::Service.new customer: @customer, application: @application, function: @function, mode: @mode, uri: @uri end |