Class: Riddl::Utils::Notifications::Producer::Subscription

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

{{{



202
203
204
205
206
207
# File 'lib/ruby/riddl/utils/notifications_producer.rb', line 202

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