def parse_options(options)
      options = options.is_a?(Array) ? options.first : options
      options = options.is_a?(Hash) ? options.stringify_keys : {}
      options
    end
def parse_options(options)
      options = options.is_a?(Array) ? options.first : options
      options = options.is_a?(Hash) ? options.stringify_keys : {}
      options
    end
receives a list of options that need to be parsed
 if it is an Array will return the first element , otherwise if it is
 an Hash will return the hash with string keys, otherwise an empty hash

 @param  [Hash, Array]  options the options that need to be parsed

 @return [Hash]

 @api private