Class: Riddl::Utils::Notifications::Producer::Topics

Inherits:
Implementation 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

{{{



178
179
180
181
182
183
# File 'lib/ruby/riddl/utils/notifications_producer.rb', line 178

def response
  backend = @a[0]
  Riddl::Parameter::Complex.new("overview","text/xml") do
    backend.topics.to_s
  end
end