class Cf::Templates::FileTemplateProvider

Attributes

id[R]
template_location[R]

Public Class Methods

new(id) click to toggle source
# File lib/cf/templates.rb, line 9
def initialize(id)
  @id = id
end

Public Instance Methods

get_template() click to toggle source
# File lib/cf/templates.rb, line 17
def get_template
  File.open(@template_location, 'rb').read
end
set_template_location(template_file_path) click to toggle source
# File lib/cf/templates.rb, line 13
def set_template_location(template_file_path)
  @template_location = template_file_path
end