Sha256: e60ac222452a9bf9367bcdf27e6bf5530f8dc291d86cffd46a91ecd3ceab5a9d
Contents?: true
Size: 738 Bytes
Versions: 4
Compression:
Stored size: 738 Bytes
Contents
# frozen_string_literal: true module Ad module AgentArchitecture module Dsl # Helper methods for accessing data in the workflow DSL module DataAccessors def settings data[:settings] end def sections data[:sections] end def get_setting(name) settings[name.to_sym] || settings[name.to_s] end def attributes data[:attributes] end def get_attribute(name) attributes[name.to_sym] || attributes[name.to_s] end def prompts data[:prompts] end def get_prompt(name) prompts[name.to_sym] || prompts[name.to_s] end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems