Exception: OpenStax::Aws::Template::TemplateInvalid

Inherits:
StandardError
  • Object
show all
Defined in:
lib/openstax/aws/template.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(msg, template_path, template_body) ⇒ TemplateInvalid

Returns a new instance of TemplateInvalid.



7
8
9
10
11
12
# File 'lib/openstax/aws/template.rb', line 7

def initialize(msg, template_path, template_body)
  @template_path = template_path
  @template_body = template_body

  super(msg)
end

Instance Attribute Details

#template_bodyObject (readonly)

Returns the value of attribute template_body.



5
6
7
# File 'lib/openstax/aws/template.rb', line 5

def template_body
  @template_body
end

#template_pathObject (readonly)

Returns the value of attribute template_path.



5
6
7
# File 'lib/openstax/aws/template.rb', line 5

def template_path
  @template_path
end