Class: Muxi::FormationConfig
- Inherits:
-
Object
- Object
- Muxi::FormationConfig
- Defined in:
- lib/muxi/formation_client.rb
Instance Attribute Summary collapse
-
#_app ⇒ Object
Returns the value of attribute _app.
-
#admin_key ⇒ Object
Returns the value of attribute admin_key.
-
#base_url ⇒ Object
Returns the value of attribute base_url.
-
#client_key ⇒ Object
Returns the value of attribute client_key.
-
#debug ⇒ Object
Returns the value of attribute debug.
-
#formation_id ⇒ Object
Returns the value of attribute formation_id.
-
#logger ⇒ Object
Returns the value of attribute logger.
-
#max_retries ⇒ Object
Returns the value of attribute max_retries.
-
#mode ⇒ Object
Returns the value of attribute mode.
-
#server_url ⇒ Object
Returns the value of attribute server_url.
-
#timeout ⇒ Object
Returns the value of attribute timeout.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize(formation_id: nil, url: nil, server_url: nil, base_url: nil, admin_key: nil, client_key: nil, max_retries: 0, timeout: 30, debug: false, logger: nil, mode: "live", _app: nil) ⇒ FormationConfig
constructor
A new instance of FormationConfig.
Constructor Details
#initialize(formation_id: nil, url: nil, server_url: nil, base_url: nil, admin_key: nil, client_key: nil, max_retries: 0, timeout: 30, debug: false, logger: nil, mode: "live", _app: nil) ⇒ FormationConfig
Returns a new instance of FormationConfig.
32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 |
# File 'lib/muxi/formation_client.rb', line 32 def initialize( formation_id: nil, url: nil, server_url: nil, base_url: nil, admin_key: nil, client_key: nil, max_retries: 0, timeout: 30, debug: false, logger: nil, mode: "live", _app: nil ) @formation_id = formation_id @url = url @server_url = server_url @base_url = base_url @admin_key = admin_key @client_key = client_key @max_retries = max_retries @timeout = timeout @debug = debug @logger = logger @mode = mode @_app = _app end |
Instance Attribute Details
#_app ⇒ Object
Returns the value of attribute _app.
29 30 31 |
# File 'lib/muxi/formation_client.rb', line 29 def _app @_app end |
#admin_key ⇒ Object
Returns the value of attribute admin_key.
29 30 31 |
# File 'lib/muxi/formation_client.rb', line 29 def admin_key @admin_key end |
#base_url ⇒ Object
Returns the value of attribute base_url.
29 30 31 |
# File 'lib/muxi/formation_client.rb', line 29 def base_url @base_url end |
#client_key ⇒ Object
Returns the value of attribute client_key.
29 30 31 |
# File 'lib/muxi/formation_client.rb', line 29 def client_key @client_key end |
#debug ⇒ Object
Returns the value of attribute debug.
29 30 31 |
# File 'lib/muxi/formation_client.rb', line 29 def debug @debug end |
#formation_id ⇒ Object
Returns the value of attribute formation_id.
29 30 31 |
# File 'lib/muxi/formation_client.rb', line 29 def formation_id @formation_id end |
#logger ⇒ Object
Returns the value of attribute logger.
29 30 31 |
# File 'lib/muxi/formation_client.rb', line 29 def logger @logger end |
#max_retries ⇒ Object
Returns the value of attribute max_retries.
29 30 31 |
# File 'lib/muxi/formation_client.rb', line 29 def max_retries @max_retries end |
#mode ⇒ Object
Returns the value of attribute mode.
29 30 31 |
# File 'lib/muxi/formation_client.rb', line 29 def mode @mode end |
#server_url ⇒ Object
Returns the value of attribute server_url.
29 30 31 |
# File 'lib/muxi/formation_client.rb', line 29 def server_url @server_url end |
#timeout ⇒ Object
Returns the value of attribute timeout.
29 30 31 |
# File 'lib/muxi/formation_client.rb', line 29 def timeout @timeout end |
#url ⇒ Object
Returns the value of attribute url.
29 30 31 |
# File 'lib/muxi/formation_client.rb', line 29 def url @url end |