Sha256: 9cb13f166b30c8ab29e1e70d525674c035f5161ca772cd7fe594e01bab83ce5c
Contents?: true
Size: 1.02 KB
Versions: 5
Compression:
Stored size: 1.02 KB
Contents
# frozen_string_literal: true require_relative './block_invocation_refinements' require_relative './dsl/http' require_relative './dsl/call' require_relative './dsl/error' require_relative './dsl/account_property' require_relative './dsl/lookup_table' require_relative './dsl/workato_code_lib' require_relative './dsl/workato_schema' require_relative './dsl/time' module Workato module Connector module Sdk module Dsl module Global include Time include AccountProperty include LookupTable include WorkatoCodeLib include WorkatoSchema def sleep(seconds) ::Kernel.sleep(seconds.presence || 0) end end class WithDsl include Global using BlockInvocationRefinements def execute(*args, &block) instance_exec(*args, &block) end def self.execute(*args, &block) WithDsl.new.execute(*args, &block) end end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems