Class: CatalystAutomation::WithJson
- Inherits:
-
Object
- Object
- CatalystAutomation::WithJson
- Defined in:
- lib/catalyst_automation.rb
Class Method Summary collapse
Class Method Details
.initialize(test_data, pages, actions, sections) ⇒ Object
22 23 24 25 26 27 28 29 30 31 32 33 34 |
# File 'lib/catalyst_automation.rb', line 22 def self.initialize(test_data, pages, actions, sections) test_data_json = JSON.parse(test_data) pages_json = JSON.parse(pages) #actions_json = JSON.parse(actions) sections_json = JSON.parse(sections) Base.create_test_data(test_data_json) Base.create_sections(sections_json) Base.create_iframes(pages_json, sections_json) Base.create_pages(pages_json, sections_json) #Base.create_iframe_actions(actions_json) #Base.create_actions(actions_json) end |