Class: ActiveRpc::Configuration
- Inherits:
-
Object
- Object
- ActiveRpc::Configuration
- Defined in:
- lib/active_rpc/configuration.rb
Instance Attribute Summary collapse
-
#local_mode ⇒ Object
Returns the value of attribute local_mode.
-
#local_mode_data ⇒ Object
Returns the value of attribute local_mode_data.
-
#service_resolver ⇒ Object
Returns the value of attribute service_resolver.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
5 6 7 8 9 |
# File 'lib/active_rpc/configuration.rb', line 5 def initialize @local_mode = false @local_mode_data = nil @service_resolver = default_service_resolver end |
Instance Attribute Details
#local_mode ⇒ Object
Returns the value of attribute local_mode.
3 4 5 |
# File 'lib/active_rpc/configuration.rb', line 3 def local_mode @local_mode end |
#local_mode_data ⇒ Object
Returns the value of attribute local_mode_data.
3 4 5 |
# File 'lib/active_rpc/configuration.rb', line 3 def local_mode_data @local_mode_data end |
#service_resolver ⇒ Object
Returns the value of attribute service_resolver.
3 4 5 |
# File 'lib/active_rpc/configuration.rb', line 3 def service_resolver @service_resolver end |