Module: UuAppstudio::Cmd::Helpers

Extended by:
Helpers
Included in:
Helpers
Defined in:
app/helpers/helpers.rb

Instance Method Summary collapse

Instance Method Details

#main_entity_uri(ctx) ⇒ Object

Parameters:

  • ctx (UU::OS::CMD::CommandContext)


10
11
12
# File 'app/helpers/helpers.rb', line 10

def main_entity_uri(ctx)
  URI.unescape(ctx.parameters.fetch(:mainEntityUri) { ctx.uu_uri })
end

#message_bus_uriObject



14
15
16
# File 'app/helpers/helpers.rb', line 14

def message_bus_uri
  UU::OS::Application::Config[:message_bus_uri] || 'ues:OT-BT:MSGBUS_0007:DEFAULT_QUEUE'
end