def object_name_for(object_type, action)
      object_name = @object_names.find do |object_name|
        object_name[:object_type] == object_type
        object_name[:action] == action
      end
      object_name = object_name ? object_name[:new_object_name] : nil
      unless object_name
        object_name = object_type.to_s.gsub('-', '_')
      end
      object_name
    end
def object_name_for(object_type, action)
      object_name = @object_names.find do |object_name|
        object_name[:object_type] == object_type
        object_name[:action] == action
      end
      object_name = object_name ? object_name[:new_object_name] : nil
      unless object_name
        object_name = object_type.to_s.gsub('-', '_')
      end
      object_name
    end
Returns custom object name for action
 @param [Symbol] Object type
 @param [Symbol] Action