spec/dummy/app/controllers/extending_concern.rb in apipie-rails-1.4.0 vs spec/dummy/app/controllers/extending_concern.rb in apipie-rails-1.4.1
- old
+ new
@@ -1,10 +1,10 @@
- module ExtendingConcern
- extend Apipie::DSL::Concern
+module ExtendingConcern
+ extend Apipie::DSL::Concern
- update_api(:create) do
- param :user, Hash do
- param :from_concern, String, :desc => 'param from concern', :allow_nil => false
- end
- meta metadata: 'data'
+ update_api(:create) do
+ param :user, Hash do
+ param :from_concern, String, :desc => 'param from concern', :allow_nil => false
end
+ meta metadata: 'data'
end
+end