rx/presenters

View on GitHub
views/mdc/components/actions/toggle_disabled.rb

Summary

Maintainability
A
0 mins
Test Coverage
module WebClient
  module Actions
    class ToggleDisabled
      def call(action, *)
        # Type, URL, Options, Params (passed into javascript event/action classes)
        [action.type, nil, action.options.to_h, action.params.to_h]
      end
    end
  end
end