Method: ArchivesSpace::Template::Erb#process

Defined in:
lib/archivesspace/client/template.rb

#processObject



50
51
52
53
54
# File 'lib/archivesspace/client/template.rb', line 50

def process
  t = ERB.new(read_template)
  r = t.result(binding).squeeze("\n")
  JSON.parse(r)
end