class HttpDataSource
Public Instance Methods
global_values()
click to toggle source
# File lib/tiller/data/http.rb, line 17 def global_values return {} unless Tiller::config.has_key?('http') parse(get_uri(@http_config['uri'] + @http_config['values']['global'])) end
target_values(template_name)
click to toggle source
# File lib/tiller/data/http.rb, line 22 def target_values(template_name) return {} unless Tiller::config.has_key?('http') parse(get_uri(@http_config['uri'] + @http_config['values']['target'], :template => template_name)) end
values(template_name)
click to toggle source
# File lib/tiller/data/http.rb, line 12 def values(template_name) return {} unless Tiller::config.has_key?('http') parse(get_uri(@http_config['uri'] + @http_config['values']['template'], :template => template_name)) end