Class: Riddl::Utils::Notifications::Producer::Overview

Inherits:
Implementation
  • Object
show all
Defined in:
lib/ruby/riddl/utils/notifications_producer.rb

Overview

}}}

Instance Method Summary collapse

Methods inherited from Implementation

#headers, #initialize, #status

Constructor Details

This class inherits a constructor from Riddl::Implementation

Instance Method Details

#responseObject

{{{



164
165
166
167
168
169
170
171
172
173
174
# File 'lib/ruby/riddl/utils/notifications_producer.rb', line 164

def response
  Riddl::Parameter::Complex.new("overview","text/xml") do
    <<-END
      <overview xmlns='http://riddl.org/ns/common-patterns/notifications-producer/1.0'>
        <topics/>
        <subscriptions/>
      </overview>
    END
  end

end