class DTK::Client::Operation::Service::ListActions

Public Class Methods

execute(args = Args.new) click to toggle source
# File lib/client/operation/service/list_actions.rb, line 21
def self.execute(args = Args.new)
  wrap_operation(args) do |args|
    service_instance = args.required(:service_instance)
    type = args[:type]

    query_string_hash = QueryStringHash.new(
      :type? => type
    )
    rest_get("#{BaseRoute}/#{service_instance}/actions", query_string_hash)
  end.set_render_as_table!
end