Class: ActiveRpc::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/active_rpc/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_modeObject

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_dataObject

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_resolverObject

Returns the value of attribute service_resolver.



3
4
5
# File 'lib/active_rpc/configuration.rb', line 3

def service_resolver
  @service_resolver
end