Indacoin v1.0.2 Indacoin.Helpers View Source

Provides helper methods for prebaking request params.

Link to this section Summary

Functions

Checks if param is present

Checks if value is not equal to nil or not an empty string

Checks if all required params (keys and values) are present

Takes only presented params

Link to this section Functions

Link to this function has_key_and_value?(map, key) View Source

Checks if param is present.

Checks if value is not equal to nil or not an empty string.

Link to this function required_params_present?(map, keys) View Source

Checks if all required params (keys and values) are present.

Takes only presented params.