Module: RestDSL

Defined in:
lib/rest_dsl.rb,
lib/rest_dsl/dsl.rb,
lib/rest_dsl/client.rb,
lib/rest_dsl/errors.rb,
lib/rest_dsl/version.rb,
lib/rest_dsl/service_base.rb

Defined Under Namespace

Modules: DSLExtensions Classes: Client, ErrorBase, ServiceBase, UndefinedEnvironmentError

Constant Summary collapse

VERSION =
'0.1.10'.freeze

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configObject (readonly)

Returns the value of attribute config.



11
12
13
# File 'lib/rest_dsl.rb', line 11

def config
  @config
end

.config_file_locationObject

Returns the value of attribute config_file_location.



9
10
11
# File 'lib/rest_dsl.rb', line 9

def config_file_location
  @config_file_location
end

.use_config_fileObject (readonly)

Returns the value of attribute use_config_file.



10
11
12
# File 'lib/rest_dsl.rb', line 10

def use_config_file
  @use_config_file
end

Class Method Details

.configurationObject



22
23
24
# File 'lib/rest_dsl.rb', line 22

def configuration
  @config
end

.default_configsObject



18
19
20
# File 'lib/rest_dsl.rb', line 18

def default_configs
  {}
end