lib/cf/templates.rb in cf-templates-0.1.0 vs lib/cf/templates.rb in cf-templates-0.2.0

- old
+ new

@@ -1,15 +1,20 @@ require "cf/templates/version" module Cf module Templates - class TemplateProvider - def initialize(aws_region, account_id, account_credentials) - puts 'hi' + def initialize(aws_region, account_id = nil, account_credentials = nil) end - end + def set_template_location(template_file_path) + @template_location = template_file_path + end + def get_template + File.open(@template_location, 'rb').read + end + + end end end