Module: ActivityNotification::Swagger::NotificationsParameters::IdParameter
- Defined in:
- lib/activity_notification/controllers/concerns/swagger/notifications_parameters.rb
Overview
:nodoc:
Class Method Summary collapse
Class Method Details
.extended(base) ⇒ Object
25 26 27 28 29 30 31 32 33 34 |
# File 'lib/activity_notification/controllers/concerns/swagger/notifications_parameters.rb', line 25 def self.extended(base) base.parameter do key :name, :id key :in, :path key :description, 'ID of notification record. This parameter type is integer with ActiveRecord, but will be string with Mongoid or Dynamoid ORMs.' key :required, true key :type, :string key :example, 123 end end |