Class: CPEE::Logging::Subscription
- Inherits:
-
Riddl::Implementation
- Object
- Riddl::Implementation
- CPEE::Logging::Subscription
- Defined in:
- lib/cpee-logging-xes-yaml/implementation.rb
Overview
}}}
Instance Method Summary collapse
-
#response ⇒ Object
{{{.
Instance Method Details
#response ⇒ Object
{{{
170 171 172 173 174 175 176 |
# File 'lib/cpee-logging-xes-yaml/implementation.rb', line 170 def response opts = @a[0] id = @r[-1] doc = XML::Smart::open_unprotected(File.join(opts[:notifications_dir],id,'subscription.xml')) doc.root.attributes['id'] = id Riddl::Parameter::Complex.new('subscriptions','text/xml',doc.to_s) end |