Prex v0.0.2 Prex.AstFile View Source
Documentation for AstFile.
Link to this section Summary
Functions
Returns the HOST of api. nil
if nothing
Returns ast file resourceGroups
as an Enum or nil
if not exists
Parses an ast json of an ap blueprint into a map
Link to this section Functions
Returns the HOST of api. nil
if nothing.
Examples
iex> Prex.parse_file("test.json") |> Prex.get_host
"http://sample.pandurangpatil.com"
Returns ast file resourceGroups
as an Enum or nil
if not exists.
Link to this function
parse_file!(file_name)
View Source
parse_file!(String.t) :: Poison.Parser.t | no_return
Parses an ast json of an ap blueprint into a map.