Module: Mutx::Tasks::Custom::Params

Defined in:
lib/mutx/tasks/custom/params.rb

Class Method Summary collapse

Class Method Details

.all_required_idsObject



17
18
19
# File 'lib/mutx/tasks/custom/params.rb', line 17

def self.all_required_ids
  Mutx::Database::MongoConnector.required_params_ids
end

.exist?(param_id) ⇒ Boolean

Returns:

  • (Boolean)


13
14
15
# File 'lib/mutx/tasks/custom/params.rb', line 13

def self.exist? param_id
  Mutx::Database::MongoConnector.exist_custom_param_id? param_id
end

.listObject



5
6
7
# File 'lib/mutx/tasks/custom/params.rb', line 5

def self.list
  Mutx::API::CustomParams.list
end

.param_name_exist?(name) ⇒ Boolean

Returns:

  • (Boolean)


9
10
11
# File 'lib/mutx/tasks/custom/params.rb', line 9

def self.param_name_exist? name
  Mutx::Database::MongoConnector.exist_custom_param_name? name
end