lib/ocean/ocean_resource_controller.rb
#
# Returns true if the params hash lacks a required attribute declared using
# +ocean_resource_controller+.
#
Returns true if the params hash lacks a required attribute declared using
+ocean_resource_controller+.
Returns true if the params hash lacks a required attribute declared using + ocean_resource_controller + .
def missing_attributes?
      self.class.ocean_resource_controller_required_attributes.each do |attr|
        return true unless params[attr]
      end
      return false
    end
def missing_attributes? self . class . ocean_resource_controller_required_attributes . each do | attr | return true unless params [ attr ] end return false end
Returns true if the params hash lacks a required attribute declared using
+ocean_resource_controller+.
Returns true if the params hash lacks a required attribute declared using + ocean_resource_controller + .