lib/jflow/activity/definition.rb in jflow-0.3.3 vs lib/jflow/activity/definition.rb in jflow-0.3.4
- old
+ new
@@ -52,12 +52,16 @@
def version
@options[:version]
end
+ def domain
+ JFlow::Domain.new(options[:domain])
+ end
+
def registered?
response = JFlow.configuration.swf_client.list_activity_types({
- domain: options[:domain],
+ domain: domain.domain_name,
name: name,
registration_status: "REGISTERED"
})
response.type_infos.each do |type_info|
\ No newline at end of file