module Ntswf::Utils

Public Instance Methods

create_domain(description) click to toggle source
# File lib/ntswf/utils.rb, line 7
def create_domain(description)
  swf.domains.create(@config.domain, 3, description: description)
end
register_activity_type() click to toggle source
# File lib/ntswf/utils.rb, line 15
def register_activity_type
  domain.activity_types.register(activity_name, workflow_version)
end
register_workflow_type() click to toggle source
# File lib/ntswf/utils.rb, line 11
def register_workflow_type
  domain.workflow_types.register(workflow_name, workflow_version)
end