class CatalystAutomation::WithRest
Public Class Methods
initialize(rest_api)
click to toggle source
# File lib/catalyst_automation.rb, line 10 def self.initialize(rest_api) sections_json = Base.get_rest_api_info(rest_api, 'sections') pages_json = Base.get_rest_api_info(rest_api, 'pages') personas_json = Base.get_rest_api_info(rest_api, 'personas') Base.create_sections(sections_json) Base.create_pages(pages_json, sections_json) Base.create_personas(personas_json) end