Sha256: 30696ba92e44af48b0562d4408998b21adf5a3ab0346188466fca959564c2b3c

Contents?: true

Size: 227 Bytes

Versions: 13

Compression:

Stored size: 227 Bytes

Contents

module ActiveAdmin
  class ControllerAction
    attr_reader :name
    def initialize(name, options = {})
      @name = name
      @options = options
    end

    def http_verb
      @options[:method] ||= :get
    end
  end
end

Version data entries

13 entries across 13 versions & 2 rubygems

Version Path
date_n_time_picker_activeadmin-0.1.2 vendor/bundle/ruby/2.6.0/gems/activeadmin-2.9.0/lib/active_admin/controller_action.rb
date_n_time_picker_activeadmin-0.1.1 vendor/bundle/ruby/2.6.0/gems/activeadmin-2.9.0/lib/active_admin/controller_action.rb
activeadmin-2.9.0 lib/active_admin/controller_action.rb
activeadmin-2.8.1 lib/active_admin/controller_action.rb
activeadmin-2.8.0 lib/active_admin/controller_action.rb
activeadmin-2.7.0 lib/active_admin/controller_action.rb
activeadmin-2.6.1 lib/active_admin/controller_action.rb
activeadmin-2.6.0 lib/active_admin/controller_action.rb
activeadmin-2.5.0 lib/active_admin/controller_action.rb
activeadmin-2.4.0 lib/active_admin/controller_action.rb
activeadmin-2.3.1 lib/active_admin/controller_action.rb
activeadmin-2.3.0 lib/active_admin/controller_action.rb
activeadmin-2.2.0 lib/active_admin/controller_action.rb