lib/trusona/workers/trusonafication_creator.rb in trusona-2.4.0 vs lib/trusona/workers/trusonafication_creator.rb in trusona-2.5.0

- old
+ new

@@ -12,10 +12,11 @@ end def create(params: {}, timeout: nil, &block) raise ArgumentError, 'Missing or empty params hash' if params.nil? || params.empty? + resource = Trusona::Resources::Trusonafication.new(params) trusonafication = @service.create(resource) return trusonafication unless block_given? handle_block(trusonafication, @service, timeout, block) @@ -41,6 +42,6 @@ end # rubocop:enable Metrics/MethodLength end end -end \ No newline at end of file +end