Sha256: aa171c61b8983053b2620337635be7888efacf88063f3827b3b4481bcaed786c

Contents?: true

Size: 266 Bytes

Versions: 19

Compression:

Stored size: 266 Bytes

Contents

module WebClient
  module Actions
    class ToggleVisibility
      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

Version data entries

19 entries across 19 versions & 2 rubygems

Version Path
coprl-3.0.0.beta.12 views/mdc/components/actions/toggle_visibility.rb
coprl-3.0.0.beta.11 views/mdc/components/actions/toggle_visibility.rb
coprl-3.0.0.beta.10 views/mdc/components/actions/toggle_visibility.rb
coprl-3.0.0.beta.9 views/mdc/components/actions/toggle_visibility.rb
coprl-3.0.0.beta.8 views/mdc/components/actions/toggle_visibility.rb
coprl-3.0.0.beta.7 views/mdc/components/actions/toggle_visibility.rb
coprl-3.0.0.beta.6 views/mdc/components/actions/toggle_visibility.rb
coprl-3.0.0.beta.5 views/mdc/components/actions/toggle_visibility.rb
voom-presenters-2.1.2 views/mdc/components/actions/toggle_visibility.rb
coprl-3.0.0.beta.4 views/mdc/components/actions/toggle_visibility.rb
coprl-3.0.0.beta.3 views/mdc/components/actions/toggle_visibility.rb
coprl-3.0.0.beta.2 views/mdc/components/actions/toggle_visibility.rb
coprl-3.0.0.beta.1 views/mdc/components/actions/toggle_visibility.rb
voom-presenters-2.1.0 views/mdc/components/actions/toggle_visibility.rb
voom-presenters-2.0.3 views/mdc/components/actions/toggle_visibility.rb
voom-presenters-2.0.2 views/mdc/components/actions/toggle_visibility.rb
voom-presenters-2.0.1 views/mdc/components/actions/toggle_visibility.rb
voom-presenters-2.0.0 views/mdc/components/actions/toggle_visibility.rb
voom-presenters-0.2.0 views/mdc/components/actions/toggle_visibility.rb