Module: Configuration::HandlerStatement::GlobalConfiguration

Defined in:
lib/httpimagestore/configuration/handler/statement.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#globalObject (readonly)

Returns the value of attribute global.



28
29
30
# File 'lib/httpimagestore/configuration/handler/statement.rb', line 28

def global
  @global
end

Instance Method Details

#path_template(path_spec) ⇒ Object



33
34
35
# File 'lib/httpimagestore/configuration/handler/statement.rb', line 33

def path_template(path_spec)
	@global.paths[path_spec]
end

#with_global_configuration(global) ⇒ Object



29
30
31
# File 'lib/httpimagestore/configuration/handler/statement.rb', line 29

def with_global_configuration(global)
	@global = global
end